diff options
author | Vincent Ambo <mail@tazj.in> | 2019-11-15T23·46+0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-15T23·46+0000 |
commit | ae53bf30c3306eeb56731e6e7aefc2bab278c6e0 (patch) | |
tree | ed66073f8c7dc2f01814ae8cc786bdf32988f0bd /third_party | |
parent | 9ba4bbb60954c3fafb5e5f0aa5f8ff478c09a600 (diff) | |
parent | ecd54d58b1863ccd84e6a85b161fb1ef066e5efd (diff) |
Merge pull request #9 from tazjin/feat/read-tree r/95
Configure automatic package layouts via repository structure
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/common_lisp/quicklisp-to-nix-output/cl-prevalence.nix | 27 | ||||
-rw-r--r-- | third_party/common_lisp/quicklisp-to-nix-output/s-sysdeps.nix | 25 | ||||
-rw-r--r-- | third_party/common_lisp/quicklisp-to-nix-output/s-xml.nix | 27 | ||||
-rw-r--r-- | third_party/common_lisp/quicklisp.nix | 29 | ||||
-rw-r--r-- | third_party/naersk.nix | 9 | ||||
-rw-r--r-- | third_party/nixery.nix | 2 | ||||
-rw-r--r-- | third_party/ormolu.nix | 8 | ||||
-rw-r--r-- | third_party/terraform-gcp.nix | 3 |
8 files changed, 21 insertions, 109 deletions
diff --git a/third_party/common_lisp/quicklisp-to-nix-output/cl-prevalence.nix b/third_party/common_lisp/quicklisp-to-nix-output/cl-prevalence.nix deleted file mode 100644 index 4e5e3ec5d6e8..000000000000 --- a/third_party/common_lisp/quicklisp-to-nix-output/cl-prevalence.nix +++ /dev/null @@ -1,27 +0,0 @@ -args @ { fetchurl, ... }: -rec { - baseName = ''cl-prevalence''; - version = ''20130720-hg''; - - description = ''Common Lisp Prevalence Package''; - - deps = [ args."s-sysdeps" args."s-xml" ]; - - src = fetchurl { - url = ''http://beta.quicklisp.org/archive/cl-prevalence/2013-07-20/cl-prevalence-20130720-hg.tgz''; - sha256 = ''09pqbw6xcgy0242npiqw7sd8jwwjc0kz7m0sas48jjr0zgnnmi89''; - }; - - packageName = "cl-prevalence"; - - asdFilesToKeep = ["cl-prevalence.asd"]; - overrides = x: x; -} -/* (SYSTEM cl-prevalence DESCRIPTION Common Lisp Prevalence Package SHA256 - 09pqbw6xcgy0242npiqw7sd8jwwjc0kz7m0sas48jjr0zgnnmi89 URL - http://beta.quicklisp.org/archive/cl-prevalence/2013-07-20/cl-prevalence-20130720-hg.tgz - MD5 6176c34b8e1621b65906b1575d9fa20d NAME cl-prevalence FILENAME - cl-prevalence DEPS - ((NAME s-sysdeps FILENAME s-sysdeps) (NAME s-xml FILENAME s-xml)) - DEPENDENCIES (s-sysdeps s-xml) VERSION 20130720-hg SIBLINGS - (cl-prevalence-test) PARASITES NIL) */ diff --git a/third_party/common_lisp/quicklisp-to-nix-output/s-sysdeps.nix b/third_party/common_lisp/quicklisp-to-nix-output/s-sysdeps.nix deleted file mode 100644 index 1c28ec6e2afd..000000000000 --- a/third_party/common_lisp/quicklisp-to-nix-output/s-sysdeps.nix +++ /dev/null @@ -1,25 +0,0 @@ -args @ { fetchurl, ... }: -rec { - baseName = ''s-sysdeps''; - version = ''20130128-git''; - - description = ''An abstraction layer over platform dependent functionality''; - - deps = [ ]; - - src = fetchurl { - url = ''http://beta.quicklisp.org/archive/s-sysdeps/2013-01-28/s-sysdeps-20130128-git.tgz''; - sha256 = ''048q0mzypnm284bvv7036d4z7bv7rdcqks5l372s74kq279l2y00''; - }; - - packageName = "s-sysdeps"; - - asdFilesToKeep = ["s-sysdeps.asd"]; - overrides = x: x; -} -/* (SYSTEM s-sysdeps DESCRIPTION - An abstraction layer over platform dependent functionality SHA256 - 048q0mzypnm284bvv7036d4z7bv7rdcqks5l372s74kq279l2y00 URL - http://beta.quicklisp.org/archive/s-sysdeps/2013-01-28/s-sysdeps-20130128-git.tgz - MD5 2fe61fadafd62ef9597e17b4783889ef NAME s-sysdeps FILENAME s-sysdeps DEPS - NIL DEPENDENCIES NIL VERSION 20130128-git SIBLINGS NIL PARASITES NIL) */ diff --git a/third_party/common_lisp/quicklisp-to-nix-output/s-xml.nix b/third_party/common_lisp/quicklisp-to-nix-output/s-xml.nix deleted file mode 100644 index ec12dde52231..000000000000 --- a/third_party/common_lisp/quicklisp-to-nix-output/s-xml.nix +++ /dev/null @@ -1,27 +0,0 @@ -args @ { fetchurl, ... }: -rec { - baseName = ''s-xml''; - version = ''20150608-git''; - - parasites = [ "s-xml.examples" "s-xml.test" ]; - - description = ''Simple Common Lisp XML Parser''; - - deps = [ ]; - - src = fetchurl { - url = ''http://beta.quicklisp.org/archive/s-xml/2015-06-08/s-xml-20150608-git.tgz''; - sha256 = ''0cy36wqzasqma4maw9djq1vdwsp5hxq8svlbnhbv9sq9zzys5viq''; - }; - - packageName = "s-xml"; - - asdFilesToKeep = ["s-xml.asd"]; - overrides = x: x; -} -/* (SYSTEM s-xml DESCRIPTION Simple Common Lisp XML Parser SHA256 - 0cy36wqzasqma4maw9djq1vdwsp5hxq8svlbnhbv9sq9zzys5viq URL - http://beta.quicklisp.org/archive/s-xml/2015-06-08/s-xml-20150608-git.tgz - MD5 9c31c80f0661777c493fab683f776716 NAME s-xml FILENAME s-xml DEPS NIL - DEPENDENCIES NIL VERSION 20150608-git SIBLINGS NIL PARASITES - (s-xml.examples s-xml.test)) */ diff --git a/third_party/common_lisp/quicklisp.nix b/third_party/common_lisp/quicklisp.nix deleted file mode 100644 index a0040f1d6f7e..000000000000 --- a/third_party/common_lisp/quicklisp.nix +++ /dev/null @@ -1,29 +0,0 @@ -# Overlay over `pkgs.lispPackages` that adds additional packages which -# are missing from the imported Quicklisp package set in nixpkgs. - -{ lib, lispPackages }: - -let inherit (lispPackages) buildLispPackage qlOverrides fetchurl; -in lispPackages // lib.fix(self: { - "s-xml" = buildLispPackage - ((f: x: (x // (f x))) - (qlOverrides."s-xml" or (x: {})) - (import ./quicklisp-to-nix-output/s-xml.nix { - inherit fetchurl; - })); - - "s-sysdeps" = buildLispPackage - ((f: x: (x // (f x))) - (qlOverrides."s-sysdeps" or (x: {})) - (import ./quicklisp-to-nix-output/s-sysdeps.nix { - inherit fetchurl; - })); - - "cl-prevalence" = buildLispPackage - ((f: x: (x // (f x))) - (qlOverrides."cl-prevalence" or (x: {})) - (import ./quicklisp-to-nix-output/cl-prevalence.nix { - inherit fetchurl; - inherit (self) s-sysdeps s-xml; - })); -}) diff --git a/third_party/naersk.nix b/third_party/naersk.nix new file mode 100644 index 000000000000..c12c1abbbfa0 --- /dev/null +++ b/third_party/naersk.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: + +let inherit (pkgs) callPackage fetchFromGitHub; +in callPackage (fetchFromGitHub { + owner = "nmattia"; + repo = "naersk"; + rev = "68c1c2b2b661913cdc5ecabea518dfdc4f449027"; + sha256 = "1ll310pl44kdbwfslzwvg2v7khf1y0xkg2j5wcfia4k7sj6bcl28"; +}) {} diff --git a/third_party/nixery.nix b/third_party/nixery.nix index cb10e0b913b1..f778e5da13f9 100644 --- a/third_party/nixery.nix +++ b/third_party/nixery.nix @@ -1,6 +1,6 @@ # Technically I suppose Nixery is not a third-party program, but it's # outside of this repository ... -{ pkgs }: +{ pkgs, ... }: let src = pkgs.fetchFromGitHub { owner = "google"; diff --git a/third_party/ormolu.nix b/third_party/ormolu.nix new file mode 100644 index 000000000000..3175e25ff138 --- /dev/null +++ b/third_party/ormolu.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: + +import (pkgs.fetchFromGitHub { + owner = "tweag"; + repo = "ormolu"; + rev = "a7076c0f83e5c06ea9067b71171859fa2ba8afd9"; + sha256 = "1p4n2ja4ciw3qfskn65ggpy37mvgf2sslxqmqn8s8jjarnqcyfny"; +}) { inherit pkgs; } diff --git a/third_party/terraform-gcp.nix b/third_party/terraform-gcp.nix new file mode 100644 index 000000000000..3332c12e41bc --- /dev/null +++ b/third_party/terraform-gcp.nix @@ -0,0 +1,3 @@ +{ pkgs, ... }: + +pkgs.terraform_0_12.withPlugins(p: [ p.google p.google-beta ]) |