git.iko.soy/typeable/cabal2nix
on master help sign in
test: update golden test files for the new code
e19c746Peter Simons
test/golden-test-cases/ChasingBottoms.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, array, base, containers, fetchurl, mtl, QuickCheck
1+{ mkDerivation, array, base, containers, mtl, QuickCheck, random
2−, random, syb
2+, stdenv, syb
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "ChasingBottoms";
5 pname = "ChasingBottoms";
6 version = "1.3.1.3";
6 version = "1.3.1.3";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base containers mtl QuickCheck random syb
9 base containers mtl QuickCheck random syb
13 ];
10 ];
@@ -16,4 +13,4 @@ mkDerivation {
16 ];
13 ];
17 description = "For testing partial and infinite values";
14 description = "For testing partial and infinite values";
18 license = stdenv.lib.licenses.mit;
15 license = stdenv.lib.licenses.mit;
19−}
16+}
test/golden-test-cases/Clipboard.nix.golden+3−7
@@ -1,14 +1,10 @@
1−{ mkDerivation, base, directory, fetchurl, unix, utf8-string, X11
1+{ mkDerivation, base, directory, stdenv, unix, utf8-string, X11 }:
2−}:
3mkDerivation {
2mkDerivation {
4 pname = "Clipboard";
3 pname = "Clipboard";
5 version = "2.3.2.0";
4 version = "2.3.2.0";
6− src = fetchurl {
7− url = "http://example.org/";
8− sha256 = "abc";
5+ sha256 = "deadbeef";
9− };
10 libraryHaskellDepends = [ base directory unix utf8-string X11 ];
6 libraryHaskellDepends = [ base directory unix utf8-string X11 ];
11 homepage = "http://haskell.org/haskellwiki/Clipboard";
7 homepage = "http://haskell.org/haskellwiki/Clipboard";
12 description = "System clipboard interface";
8 description = "System clipboard interface";
13 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
14−}
10+}
test/golden-test-cases/FenwickTree.nix.golden+3−6
@@ -1,15 +1,12 @@
1−{ mkDerivation, base, fetchurl, QuickCheck, template-haskell }:
1+{ mkDerivation, base, QuickCheck, stdenv, template-haskell }:
2mkDerivation {
2mkDerivation {
3 pname = "FenwickTree";
3 pname = "FenwickTree";
4 version = "0.1.2.1";
4 version = "0.1.2.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 enableSeparateDataOutput = true;
6 enableSeparateDataOutput = true;
10 libraryHaskellDepends = [ base QuickCheck template-haskell ];
7 libraryHaskellDepends = [ base QuickCheck template-haskell ];
11 testHaskellDepends = [ base QuickCheck template-haskell ];
8 testHaskellDepends = [ base QuickCheck template-haskell ];
12 homepage = "https://github.com/mgajda/FenwickTree";
9 homepage = "https://github.com/mgajda/FenwickTree";
13 description = "Data structure for fast query and update of cumulative sums";
10 description = "Data structure for fast query and update of cumulative sums";
14 license = stdenv.lib.licenses.bsd3;
11 license = stdenv.lib.licenses.bsd3;
15−}
12+}
test/golden-test-cases/GPipe-GLFW.nix.golden+3−7
@@ -1,16 +1,12 @@
1−{ mkDerivation, async, base, containers, fetchurl, GLFW-b, GPipe
1+{ mkDerivation, async, base, containers, GLFW-b, GPipe, stdenv, stm
2−, stm
3}:
2}:
4mkDerivation {
3mkDerivation {
5 pname = "GPipe-GLFW";
4 pname = "GPipe-GLFW";
6 version = "1.4.1.1";
5 version = "1.4.1.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
6+ sha256 = "deadbeef";
10− };
11 enableSeparateDataOutput = true;
7 enableSeparateDataOutput = true;
12 libraryHaskellDepends = [ async base containers GLFW-b GPipe stm ];
8 libraryHaskellDepends = [ async base containers GLFW-b GPipe stm ];
13 homepage = "https://github.com/plredmond/GPipe-GLFW";
9 homepage = "https://github.com/plredmond/GPipe-GLFW";
14 description = "GLFW OpenGL context creation for GPipe";
10 description = "GLFW OpenGL context creation for GPipe";
15 license = stdenv.lib.licenses.mit;
11 license = stdenv.lib.licenses.mit;
16−}
12+}
test/golden-test-cases/GenericPretty.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, ghc-prim, pretty }:
1+{ mkDerivation, base, ghc-prim, pretty, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "GenericPretty";
3 pname = "GenericPretty";
4 version = "1.2.1";
4 version = "1.2.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ghc-prim pretty ];
6 libraryHaskellDepends = [ base ghc-prim pretty ];
10 homepage = "https://github.com/RazvanRanca/GenericPretty";
7 homepage = "https://github.com/RazvanRanca/GenericPretty";
11 description = "A generic, derivable, haskell pretty printer";
8 description = "A generic, derivable, haskell pretty printer";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/HPDF.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, array, base, base64-bytestring, binary, bytestring
1{ mkDerivation, array, base, base64-bytestring, binary, bytestring
2−, containers, errors, fetchurl, HTF, mtl, random, vector, zlib
2+, containers, errors, HTF, mtl, random, stdenv, vector, zlib
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "HPDF";
5 pname = "HPDF";
6 version = "1.4.10";
6 version = "1.4.10";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 array base base64-bytestring binary bytestring containers errors
9 array base base64-bytestring binary bytestring containers errors
13 mtl random vector zlib
10 mtl random vector zlib
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "http://www.alpheccar.org";
13 homepage = "http://www.alpheccar.org";
17 description = "Generation of PDF documents";
14 description = "Generation of PDF documents";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/HTF.nix.golden+5−8
@@ -1,17 +1,14 @@
1{ mkDerivation, aeson, aeson-pretty, array, base, base64-bytestring
1{ mkDerivation, aeson, aeson-pretty, array, base, base64-bytestring
2−, bytestring, containers, cpphs, Diff, directory, fetchurl
2+, bytestring, containers, cpphs, Diff, directory, filepath
3−, filepath, haskell-src, HUnit, lifted-base, monad-control, mtl
3+, haskell-src, HUnit, lifted-base, monad-control, mtl, old-time
4−, old-time, pretty, process, QuickCheck, random, regex-compat
4+, pretty, process, QuickCheck, random, regex-compat, stdenv
5, template-haskell, temporary, text, time, unix
5, template-haskell, temporary, text, time, unix
6, unordered-containers, vector, xmlgen
6, unordered-containers, vector, xmlgen
7}:
7}:
8mkDerivation {
8mkDerivation {
9 pname = "HTF";
9 pname = "HTF";
10 version = "0.13.2.2";
10 version = "0.13.2.2";
11− src = fetchurl {
12− url = "http://example.org/";
13− sha256 = "abc";
11+ sha256 = "deadbeef";
14− };
15 isLibrary = true;
12 isLibrary = true;
16 isExecutable = true;
13 isExecutable = true;
17 libraryHaskellDepends = [
14 libraryHaskellDepends = [
@@ -31,4 +28,4 @@ mkDerivation {
31 homepage = "https://github.com/skogsbaer/HTF/";
28 homepage = "https://github.com/skogsbaer/HTF/";
32 description = "The Haskell Test Framework";
29 description = "The Haskell Test Framework";
33 license = "LGPL";
30 license = "LGPL";
34−}
31+}
test/golden-test-cases/HTTP.nix.golden+5−8
@@ -1,15 +1,12 @@
1{ mkDerivation, array, base, bytestring, case-insensitive, conduit
1{ mkDerivation, array, base, bytestring, case-insensitive, conduit
2−, conduit-extra, deepseq, fetchurl, http-types, httpd-shed, HUnit
2+, conduit-extra, deepseq, http-types, httpd-shed, HUnit, mtl
3−, mtl, network, network-uri, parsec, pureMD5, split, test-framework
3+, network, network-uri, parsec, pureMD5, split, stdenv
4−, test-framework-hunit, time, wai, warp
4+, test-framework, test-framework-hunit, time, wai, warp
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "HTTP";
7 pname = "HTTP";
8 version = "4000.3.9";
8 version = "4000.3.9";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
14 array base bytestring mtl network network-uri parsec time
11 array base bytestring mtl network network-uri parsec time
15 ];
12 ];
@@ -21,4 +18,4 @@ mkDerivation {
21 homepage = "https://github.com/haskell/HTTP";
18 homepage = "https://github.com/haskell/HTTP";
22 description = "A library for client-side HTTP";
19 description = "A library for client-side HTTP";
23 license = stdenv.lib.licenses.bsd3;
20 license = stdenv.lib.licenses.bsd3;
24−}
21+}
test/golden-test-cases/Hclip.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, mtl, process, strict }:
1+{ mkDerivation, base, mtl, process, stdenv, strict }:
2mkDerivation {
2mkDerivation {
3 pname = "Hclip";
3 pname = "Hclip";
4 version = "3.0.0.4";
4 version = "3.0.0.4";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base mtl process strict ];
6 libraryHaskellDepends = [ base mtl process strict ];
10 homepage = "https://github.com/jetho/Hclip";
7 homepage = "https://github.com/jetho/Hclip";
11 description = "A small cross-platform library for reading and modifying the system clipboard";
8 description = "A small cross-platform library for reading and modifying the system clipboard";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/MissingH.nix.golden+5−8
@@ -1,15 +1,12 @@
1{ mkDerivation, array, base, containers, directory
1{ mkDerivation, array, base, containers, directory
2−, errorcall-eq-instance, fetchurl, filepath, hslogger, HUnit, mtl
2+, errorcall-eq-instance, filepath, hslogger, HUnit, mtl, network
3−, network, old-locale, old-time, parsec, process, QuickCheck
3+, old-locale, old-time, parsec, process, QuickCheck, random
4−, random, regex-compat, testpack, time, unix
4+, regex-compat, stdenv, testpack, time, unix
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "MissingH";
7 pname = "MissingH";
8 version = "1.4.0.1";
8 version = "1.4.0.1";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
14 array base containers directory filepath hslogger HUnit mtl network
11 array base containers directory filepath hslogger HUnit mtl network
15 old-locale old-time parsec process random regex-compat time unix
12 old-locale old-time parsec process random regex-compat time unix
@@ -22,4 +19,4 @@ mkDerivation {
22 homepage = "http://software.complete.org/missingh";
19 homepage = "http://software.complete.org/missingh";
23 description = "Large utility library";
20 description = "Large utility library";
24 license = stdenv.lib.licenses.bsd3;
21 license = stdenv.lib.licenses.bsd3;
25−}
22+}
test/golden-test-cases/ObjectName.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, transformers }:
1+{ mkDerivation, base, stdenv, transformers }:
2mkDerivation {
2mkDerivation {
3 pname = "ObjectName";
3 pname = "ObjectName";
4 version = "1.1.0.1";
4 version = "1.1.0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base transformers ];
6 libraryHaskellDepends = [ base transformers ];
10 homepage = "https://github.com/svenpanne/ObjectName";
7 homepage = "https://github.com/svenpanne/ObjectName";
11 description = "Explicitly handled object names";
8 description = "Explicitly handled object names";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/Only.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, deepseq, fetchurl }:
1+{ mkDerivation, base, deepseq, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "Only";
3 pname = "Only";
4 version = "0.1";
4 version = "0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base deepseq ];
6 libraryHaskellDepends = [ base deepseq ];
10 description = "The 1-tuple type or single-value \"collection\"";
7 description = "The 1-tuple type or single-value \"collection\"";
11 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
12−}
9+}
test/golden-test-cases/QuasiText.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, attoparsec, base, fetchurl, haskell-src-meta
1+{ mkDerivation, attoparsec, base, haskell-src-meta, stdenv
2, template-haskell, text, th-lift-instances
2, template-haskell, text, th-lift-instances
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "QuasiText";
5 pname = "QuasiText";
6 version = "0.1.2.6";
6 version = "0.1.2.6";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 attoparsec base haskell-src-meta template-haskell text
9 attoparsec base haskell-src-meta template-haskell text
13 th-lift-instances
10 th-lift-instances
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/mikeplus64/QuasiText";
12 homepage = "https://github.com/mikeplus64/QuasiText";
16 description = "A QuasiQuoter for Text";
13 description = "A QuasiQuoter for Text";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/QuickCheck.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, containers, deepseq, fetchurl, random
1+{ mkDerivation, base, containers, deepseq, random, stdenv
2, template-haskell, tf-random, transformers
2, template-haskell, tf-random, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "QuickCheck";
5 pname = "QuickCheck";
6 version = "2.10.1";
6 version = "2.10.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base containers deepseq random template-haskell tf-random
9 base containers deepseq random template-haskell tf-random
13 transformers
10 transformers
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/nick8325/quickcheck";
13 homepage = "https://github.com/nick8325/quickcheck";
17 description = "Automatic testing of Haskell programs";
14 description = "Automatic testing of Haskell programs";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/ReadArgs.nix.golden+3−6
@@ -1,11 +1,8 @@
1−{ mkDerivation, base, fetchurl, hspec, system-filepath, text }:
1+{ mkDerivation, base, hspec, stdenv, system-filepath, text }:
2mkDerivation {
2mkDerivation {
3 pname = "ReadArgs";
3 pname = "ReadArgs";
4 version = "1.2.3";
4 version = "1.2.3";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 isLibrary = true;
6 isLibrary = true;
10 isExecutable = true;
7 isExecutable = true;
11 libraryHaskellDepends = [ base system-filepath text ];
8 libraryHaskellDepends = [ base system-filepath text ];
@@ -14,4 +11,4 @@ mkDerivation {
14 homepage = "http://github.com/rampion/ReadArgs";
11 homepage = "http://github.com/rampion/ReadArgs";
15 description = "Simple command line argument parsing";
12 description = "Simple command line argument parsing";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/SHA.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, array, base, binary, bytestring, fetchurl
1+{ mkDerivation, array, base, binary, bytestring, QuickCheck, stdenv
2−, QuickCheck, test-framework, test-framework-quickcheck2
2+, test-framework, test-framework-quickcheck2
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "SHA";
5 pname = "SHA";
6 version = "1.6.4.2";
6 version = "1.6.4.2";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = true;
8 isLibrary = true;
12 isExecutable = true;
9 isExecutable = true;
13 libraryHaskellDepends = [ array base binary bytestring ];
10 libraryHaskellDepends = [ array base binary bytestring ];
@@ -17,4 +14,4 @@ mkDerivation {
17 ];
14 ];
18 description = "Implementations of the SHA suite of message digest functions";
15 description = "Implementations of the SHA suite of message digest functions";
19 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
20−}
17+}
test/golden-test-cases/Strafunski-StrategyLib.nix.golden+3−7
@@ -1,13 +1,9 @@
1−{ mkDerivation, base, directory, fetchurl, mtl, syb, transformers
1+{ mkDerivation, base, directory, mtl, stdenv, syb, transformers }:
2−}:
3mkDerivation {
2mkDerivation {
4 pname = "Strafunski-StrategyLib";
3 pname = "Strafunski-StrategyLib";
5 version = "5.0.0.10";
4 version = "5.0.0.10";
6− src = fetchurl {
7− url = "http://example.org/";
8− sha256 = "abc";
5+ sha256 = "deadbeef";
9− };
10 libraryHaskellDepends = [ base directory mtl syb transformers ];
6 libraryHaskellDepends = [ base directory mtl syb transformers ];
11 description = "Library for strategic programming";
7 description = "Library for strategic programming";
12 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
13−}
9+}
test/golden-test-cases/accelerate-fftw.nix.golden+4−7
@@ -1,17 +1,14 @@
1−{ mkDerivation, accelerate, accelerate-io, base, carray, fetchurl
1+{ mkDerivation, accelerate, accelerate-io, base, carray, fft
2−, fft, storable-complex
2+, stdenv, storable-complex
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "accelerate-fftw";
5 pname = "accelerate-fftw";
6 version = "1.0";
6 version = "1.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 accelerate accelerate-io base carray fft storable-complex
9 accelerate accelerate-io base carray fft storable-complex
13 ];
10 ];
14 homepage = "http://hub.darcs.net/thielema/accelerate-fftw/";
11 homepage = "http://hub.darcs.net/thielema/accelerate-fftw/";
15 description = "Accelerate frontend to the FFTW library (Fourier transform)";
12 description = "Accelerate frontend to the FFTW library (Fourier transform)";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/accelerate.nix.golden+4−7
@@ -1,15 +1,12 @@
1{ mkDerivation, ansi-wl-pprint, base, base-orphans, containers
1{ mkDerivation, ansi-wl-pprint, base, base-orphans, containers
2−, deepseq, directory, exceptions, fclabels, fetchurl, filepath
2+, deepseq, directory, exceptions, fclabels, filepath, ghc-prim
3−, ghc-prim, hashable, hashtables, mtl, template-haskell, time
3+, hashable, hashtables, mtl, stdenv, template-haskell, time
4, transformers, unique, unix, unordered-containers
4, transformers, unique, unix, unordered-containers
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "accelerate";
7 pname = "accelerate";
8 version = "1.1.1.0";
8 version = "1.1.1.0";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
14 ansi-wl-pprint base base-orphans containers deepseq directory
11 ansi-wl-pprint base base-orphans containers deepseq directory
15 exceptions fclabels filepath ghc-prim hashable hashtables mtl
12 exceptions fclabels filepath ghc-prim hashable hashtables mtl
@@ -18,4 +15,4 @@ mkDerivation {
18 homepage = "https://github.com/AccelerateHS/accelerate/";
15 homepage = "https://github.com/AccelerateHS/accelerate/";
19 description = "An embedded language for accelerated array processing";
16 description = "An embedded language for accelerated array processing";
20 license = stdenv.lib.licenses.bsd3;
17 license = stdenv.lib.licenses.bsd3;
21−}
18+}
test/golden-test-cases/active.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, lens, linear, QuickCheck
1+{ mkDerivation, base, lens, linear, QuickCheck, semigroupoids
2−, semigroupoids, semigroups, vector
2+, semigroups, stdenv, vector
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "active";
5 pname = "active";
6 version = "0.2.0.13";
6 version = "0.2.0.13";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base lens linear semigroupoids semigroups vector
9 base lens linear semigroupoids semigroups vector
13 ];
10 ];
@@ -16,4 +13,4 @@ mkDerivation {
16 ];
13 ];
17 description = "Abstractions for animation";
14 description = "Abstractions for animation";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/adjunctions.nix.golden+4−7
@@ -1,14 +1,11 @@
1{ mkDerivation, array, base, comonad, containers, contravariant
1{ mkDerivation, array, base, comonad, containers, contravariant
2−, distributive, fetchurl, free, mtl, profunctors, semigroupoids
2+, distributive, free, mtl, profunctors, semigroupoids, semigroups
3−, semigroups, tagged, transformers, transformers-compat, void
3+, stdenv, tagged, transformers, transformers-compat, void
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "adjunctions";
6 pname = "adjunctions";
7 version = "4.3";
7 version = "4.3";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 array base comonad containers contravariant distributive free mtl
10 array base comonad containers contravariant distributive free mtl
14 profunctors semigroupoids semigroups tagged transformers
11 profunctors semigroupoids semigroups tagged transformers
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "http://github.com/ekmett/adjunctions/";
14 homepage = "http://github.com/ekmett/adjunctions/";
18 description = "Adjunctions and representable functors";
15 description = "Adjunctions and representable functors";
19 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
20−}
17+}
test/golden-test-cases/aeson-diff.nix.golden+5−8
@@ -1,15 +1,12 @@
1{ mkDerivation, aeson, base, bytestring, directory, doctest
1{ mkDerivation, aeson, base, bytestring, directory, doctest
2−, edit-distance-vector, fetchurl, filepath, Glob, hashable, hlint
2+, edit-distance-vector, filepath, Glob, hashable, hlint, mtl
3−, mtl, optparse-applicative, QuickCheck, quickcheck-instances
3+, optparse-applicative, QuickCheck, quickcheck-instances
4−, scientific, text, unordered-containers, vector
4+, scientific, stdenv, text, unordered-containers, vector
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "aeson-diff";
7 pname = "aeson-diff";
8 version = "1.1.0.4";
8 version = "1.1.0.4";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 isLibrary = true;
10 isLibrary = true;
14 isExecutable = true;
11 isExecutable = true;
15 libraryHaskellDepends = [
12 libraryHaskellDepends = [
@@ -26,4 +23,4 @@ mkDerivation {
26 homepage = "https://github.com/thsutton/aeson-diff";
23 homepage = "https://github.com/thsutton/aeson-diff";
27 description = "Extract and apply patches to JSON documents";
24 description = "Extract and apply patches to JSON documents";
28 license = stdenv.lib.licenses.bsd3;
25 license = stdenv.lib.licenses.bsd3;
29−}
26+}
test/golden-test-cases/aeson-pretty.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, aeson, attoparsec, base, base-compat, bytestring
1{ mkDerivation, aeson, attoparsec, base, base-compat, bytestring
2−, cmdargs, fetchurl, scientific, text, unordered-containers, vector
2+, cmdargs, scientific, stdenv, text, unordered-containers, vector
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "aeson-pretty";
5 pname = "aeson-pretty";
6 version = "0.8.5";
6 version = "0.8.5";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = true;
8 isLibrary = true;
12 isExecutable = true;
9 isExecutable = true;
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
@@ -20,4 +17,4 @@ mkDerivation {
20 homepage = "http://github.com/informatikr/aeson-pretty";
17 homepage = "http://github.com/informatikr/aeson-pretty";
21 description = "JSON pretty-printing library and command-line tool";
18 description = "JSON pretty-printing library and command-line tool";
22 license = stdenv.lib.licenses.bsd3;
19 license = stdenv.lib.licenses.bsd3;
23−}
20+}
test/golden-test-cases/algebraic-graphs.nix.golden+4−7
@@ -1,17 +1,14 @@
1−{ mkDerivation, array, base, containers, criterion, extra, fetchurl
1+{ mkDerivation, array, base, containers, criterion, extra
2−, QuickCheck
2+, QuickCheck, stdenv
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "algebraic-graphs";
5 pname = "algebraic-graphs";
6 version = "0.0.5";
6 version = "0.0.5";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ array base containers ];
8 libraryHaskellDepends = [ array base containers ];
12 testHaskellDepends = [ base containers extra QuickCheck ];
9 testHaskellDepends = [ base containers extra QuickCheck ];
13 benchmarkHaskellDepends = [ base containers criterion ];
10 benchmarkHaskellDepends = [ base containers criterion ];
14 homepage = "https://github.com/snowleopard/alga";
11 homepage = "https://github.com/snowleopard/alga";
15 description = "A library for algebraic graph construction and transformation";
12 description = "A library for algebraic graph construction and transformation";
16 license = stdenv.lib.licenses.mit;
13 license = stdenv.lib.licenses.mit;
17−}
14+}
test/golden-test-cases/amazonka-cloudtrail.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2−, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
2+, stdenv, tasty, tasty-hunit, text, time, unordered-containers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "amazonka-cloudtrail";
5 pname = "amazonka-cloudtrail";
6 version = "1.5.0";
6 version = "1.5.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ amazonka-core base ];
8 libraryHaskellDepends = [ amazonka-core base ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
10 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/brendanhay/amazonka";
13 homepage = "https://github.com/brendanhay/amazonka";
17 description = "Amazon CloudTrail SDK";
14 description = "Amazon CloudTrail SDK";
18 license = stdenv.lib.licenses.mpl20;
15 license = stdenv.lib.licenses.mpl20;
19−}
16+}
test/golden-test-cases/amazonka-cloudwatch-logs.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2−, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
2+, stdenv, tasty, tasty-hunit, text, time, unordered-containers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "amazonka-cloudwatch-logs";
5 pname = "amazonka-cloudwatch-logs";
6 version = "1.5.0";
6 version = "1.5.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ amazonka-core base ];
8 libraryHaskellDepends = [ amazonka-core base ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
10 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/brendanhay/amazonka";
13 homepage = "https://github.com/brendanhay/amazonka";
17 description = "Amazon CloudWatch Logs SDK";
14 description = "Amazon CloudWatch Logs SDK";
18 license = stdenv.lib.licenses.mpl20;
15 license = stdenv.lib.licenses.mpl20;
19−}
16+}
test/golden-test-cases/amazonka-codedeploy.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2−, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
2+, stdenv, tasty, tasty-hunit, text, time, unordered-containers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "amazonka-codedeploy";
5 pname = "amazonka-codedeploy";
6 version = "1.5.0";
6 version = "1.5.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ amazonka-core base ];
8 libraryHaskellDepends = [ amazonka-core base ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
10 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/brendanhay/amazonka";
13 homepage = "https://github.com/brendanhay/amazonka";
17 description = "Amazon CodeDeploy SDK";
14 description = "Amazon CodeDeploy SDK";
18 license = stdenv.lib.licenses.mpl20;
15 license = stdenv.lib.licenses.mpl20;
19−}
16+}
test/golden-test-cases/amazonka-cognito-idp.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2−, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
2+, stdenv, tasty, tasty-hunit, text, time, unordered-containers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "amazonka-cognito-idp";
5 pname = "amazonka-cognito-idp";
6 version = "1.5.0";
6 version = "1.5.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ amazonka-core base ];
8 libraryHaskellDepends = [ amazonka-core base ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
10 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/brendanhay/amazonka";
13 homepage = "https://github.com/brendanhay/amazonka";
17 description = "Amazon Cognito Identity Provider SDK";
14 description = "Amazon Cognito Identity Provider SDK";
18 license = stdenv.lib.licenses.mpl20;
15 license = stdenv.lib.licenses.mpl20;
19−}
16+}
test/golden-test-cases/amazonka-ecs.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2−, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
2+, stdenv, tasty, tasty-hunit, text, time, unordered-containers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "amazonka-ecs";
5 pname = "amazonka-ecs";
6 version = "1.5.0";
6 version = "1.5.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ amazonka-core base ];
8 libraryHaskellDepends = [ amazonka-core base ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
10 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/brendanhay/amazonka";
13 homepage = "https://github.com/brendanhay/amazonka";
17 description = "Amazon EC2 Container Service SDK";
14 description = "Amazon EC2 Container Service SDK";
18 license = stdenv.lib.licenses.mpl20;
15 license = stdenv.lib.licenses.mpl20;
19−}
16+}
test/golden-test-cases/amazonka-kms.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2−, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
2+, stdenv, tasty, tasty-hunit, text, time, unordered-containers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "amazonka-kms";
5 pname = "amazonka-kms";
6 version = "1.5.0";
6 version = "1.5.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ amazonka-core base ];
8 libraryHaskellDepends = [ amazonka-core base ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
10 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/brendanhay/amazonka";
13 homepage = "https://github.com/brendanhay/amazonka";
17 description = "Amazon Key Management Service SDK";
14 description = "Amazon Key Management Service SDK";
18 license = stdenv.lib.licenses.mpl20;
15 license = stdenv.lib.licenses.mpl20;
19−}
16+}
test/golden-test-cases/amazonka-lightsail.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2−, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
2+, stdenv, tasty, tasty-hunit, text, time, unordered-containers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "amazonka-lightsail";
5 pname = "amazonka-lightsail";
6 version = "1.5.0";
6 version = "1.5.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ amazonka-core base ];
8 libraryHaskellDepends = [ amazonka-core base ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
10 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/brendanhay/amazonka";
13 homepage = "https://github.com/brendanhay/amazonka";
17 description = "Amazon Lightsail SDK";
14 description = "Amazon Lightsail SDK";
18 license = stdenv.lib.licenses.mpl20;
15 license = stdenv.lib.licenses.mpl20;
19−}
16+}
test/golden-test-cases/amazonka-route53-domains.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2−, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
2+, stdenv, tasty, tasty-hunit, text, time, unordered-containers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "amazonka-route53-domains";
5 pname = "amazonka-route53-domains";
6 version = "1.5.0";
6 version = "1.5.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ amazonka-core base ];
8 libraryHaskellDepends = [ amazonka-core base ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
10 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/brendanhay/amazonka";
13 homepage = "https://github.com/brendanhay/amazonka";
17 description = "Amazon Route 53 Domains SDK";
14 description = "Amazon Route 53 Domains SDK";
18 license = stdenv.lib.licenses.mpl20;
15 license = stdenv.lib.licenses.mpl20;
19−}
16+}
test/golden-test-cases/amazonka-waf.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
1{ mkDerivation, amazonka-core, amazonka-test, base, bytestring
2−, fetchurl, tasty, tasty-hunit, text, time, unordered-containers
2+, stdenv, tasty, tasty-hunit, text, time, unordered-containers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "amazonka-waf";
5 pname = "amazonka-waf";
6 version = "1.5.0";
6 version = "1.5.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ amazonka-core base ];
8 libraryHaskellDepends = [ amazonka-core base ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
10 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/brendanhay/amazonka";
13 homepage = "https://github.com/brendanhay/amazonka";
17 description = "Amazon WAF SDK";
14 description = "Amazon WAF SDK";
18 license = stdenv.lib.licenses.mpl20;
15 license = stdenv.lib.licenses.mpl20;
19−}
16+}
test/golden-test-cases/api-field-json-th.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, aeson, base, fetchurl, HUnit, lens, split
1+{ mkDerivation, aeson, base, HUnit, lens, split, stdenv
2, template-haskell, text
2, template-haskell, text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "api-field-json-th";
5 pname = "api-field-json-th";
6 version = "0.1.0.2";
6 version = "0.1.0.2";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 aeson base lens split template-haskell text
9 aeson base lens split template-haskell text
13 ];
10 ];
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/nakaji-dayo/api-field-json-th";
12 homepage = "https://github.com/nakaji-dayo/api-field-json-th";
16 description = "option of aeson's deriveJSON";
13 description = "option of aeson's deriveJSON";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/app-settings.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, containers, directory, fetchurl, hspec, HUnit
1+{ mkDerivation, base, containers, directory, hspec, HUnit, mtl
2−, mtl, parsec, text
2+, parsec, stdenv, text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "app-settings";
5 pname = "app-settings";
6 version = "0.2.0.11";
6 version = "0.2.0.11";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base containers directory mtl parsec text
9 base containers directory mtl parsec text
13 ];
10 ];
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "https://github.com/emmanueltouzery/app-settings";
14 homepage = "https://github.com/emmanueltouzery/app-settings";
18 description = "A library to manage application settings (INI file-like)";
15 description = "A library to manage application settings (INI file-like)";
19 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
20−}
17+}
test/golden-test-cases/apply-refact.nix.golden+5−8
@@ -1,15 +1,12 @@
1−{ mkDerivation, base, containers, directory, fetchurl, filemanip
1+{ mkDerivation, base, containers, directory, filemanip, filepath
2−, filepath, ghc, ghc-exactprint, mtl, optparse-applicative, process
2+, ghc, ghc-exactprint, mtl, optparse-applicative, process, refact
3−, refact, silently, syb, tasty, tasty-expected-failure
3+, silently, stdenv, syb, tasty, tasty-expected-failure
4, tasty-golden, temporary, transformers, unix-compat
4, tasty-golden, temporary, transformers, unix-compat
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "apply-refact";
7 pname = "apply-refact";
8 version = "0.4.1.0";
8 version = "0.4.1.0";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 isLibrary = true;
10 isLibrary = true;
14 isExecutable = true;
11 isExecutable = true;
15 libraryHaskellDepends = [
12 libraryHaskellDepends = [
@@ -29,4 +26,4 @@ mkDerivation {
29 ];
26 ];
30 description = "Perform refactorings specified by the refact library";
27 description = "Perform refactorings specified by the refact library";
31 license = stdenv.lib.licenses.bsd3;
28 license = stdenv.lib.licenses.bsd3;
32−}
29+}
test/golden-test-cases/async.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, HUnit, stm, test-framework
1+{ mkDerivation, base, HUnit, stdenv, stm, test-framework
2, test-framework-hunit
2, test-framework-hunit
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "async";
5 pname = "async";
6 version = "2.1.1.1";
6 version = "2.1.1.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base stm ];
8 libraryHaskellDepends = [ base stm ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 base HUnit test-framework test-framework-hunit
10 base HUnit test-framework test-framework-hunit
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/simonmar/async";
12 homepage = "https://github.com/simonmar/async";
16 description = "Run IO operations asynchronously and wait for their results";
13 description = "Run IO operations asynchronously and wait for their results";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/attoparsec-expr.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, attoparsec, base, fetchurl }:
1+{ mkDerivation, attoparsec, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "attoparsec-expr";
3 pname = "attoparsec-expr";
4 version = "0.1.1.2";
4 version = "0.1.1.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ attoparsec base ];
6 libraryHaskellDepends = [ attoparsec base ];
10 description = "Port of parsec's expression parser to attoparsec";
7 description = "Port of parsec's expression parser to attoparsec";
11 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
12−}
9+}
test/golden-test-cases/attoparsec-time.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, attoparsec, base, base-prelude, bytestring, Cabal
1{ mkDerivation, attoparsec, base, base-prelude, bytestring, Cabal
2−, cabal-doctest, directory, doctest, fetchurl, filepath, scientific
2+, cabal-doctest, directory, doctest, filepath, scientific, stdenv
3, text, time
3, text, time
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "attoparsec-time";
6 pname = "attoparsec-time";
7 version = "1";
7 version = "1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 setupHaskellDepends = [ base Cabal cabal-doctest ];
9 setupHaskellDepends = [ base Cabal cabal-doctest ];
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
14 attoparsec base base-prelude bytestring scientific text time
11 attoparsec base base-prelude bytestring scientific text time
@@ -19,4 +16,4 @@ mkDerivation {
19 homepage = "https://github.com/nikita-volkov/attoparsec-time";
16 homepage = "https://github.com/nikita-volkov/attoparsec-time";
20 description = "Attoparsec parsers of time";
17 description = "Attoparsec parsers of time";
21 license = stdenv.lib.licenses.mit;
18 license = stdenv.lib.licenses.mit;
22−}
19+}
test/golden-test-cases/avers-server.nix.golden+5−8
@@ -1,16 +1,13 @@
1{ mkDerivation, aeson, avers, avers-api, base, base64-bytestring
1{ mkDerivation, aeson, avers, avers-api, base, base64-bytestring
2, bytestring, bytestring-conversion, containers, cookie, cryptonite
2, bytestring, bytestring-conversion, containers, cookie, cryptonite
3−, fetchurl, http-types, memory, mtl, resource-pool
3+, http-types, memory, mtl, resource-pool, rethinkdb-client-driver
4−, rethinkdb-client-driver, servant, servant-server, stm, text, time
4+, servant, servant-server, stdenv, stm, text, time, transformers
5−, transformers, wai, wai-websockets, websockets
5+, wai, wai-websockets, websockets
6}:
6}:
7mkDerivation {
7mkDerivation {
8 pname = "avers-server";
8 pname = "avers-server";
9 version = "0.1.0";
9 version = "0.1.0";
10− src = fetchurl {
11− url = "http://example.org/";
12− sha256 = "abc";
10+ sha256 = "deadbeef";
13− };
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
15 aeson avers avers-api base base64-bytestring bytestring
12 aeson avers avers-api base base64-bytestring bytestring
16 bytestring-conversion containers cookie cryptonite http-types
13 bytestring-conversion containers cookie cryptonite http-types
@@ -21,4 +18,4 @@ mkDerivation {
21 homepage = "http://github.com/wereHamster/avers-server";
18 homepage = "http://github.com/wereHamster/avers-server";
22 description = "Server implementation of the Avers API";
19 description = "Server implementation of the Avers API";
23 license = stdenv.lib.licenses.mit;
20 license = stdenv.lib.licenses.mit;
24−}
21+}
test/golden-test-cases/aws.nix.golden+6−9
@@ -2,20 +2,17 @@
2, base64-bytestring, blaze-builder, byteable, bytestring
2, base64-bytestring, blaze-builder, byteable, bytestring
3, case-insensitive, cereal, conduit, conduit-combinators
3, case-insensitive, cereal, conduit, conduit-combinators
4, conduit-extra, containers, cryptonite, data-default, directory
4, conduit-extra, containers, cryptonite, data-default, directory
5−, errors, fetchurl, filepath, http-client, http-client-tls
5+, errors, filepath, http-client, http-client-tls, http-conduit
6−, http-conduit, http-types, lifted-base, memory, monad-control, mtl
6+, http-types, lifted-base, memory, monad-control, mtl, network
7−, network, old-locale, QuickCheck, quickcheck-instances, resourcet
7+, old-locale, QuickCheck, quickcheck-instances, resourcet, safe
8−, safe, scientific, tagged, tasty, tasty-hunit, tasty-quickcheck
8+, scientific, stdenv, tagged, tasty, tasty-hunit, tasty-quickcheck
9, text, time, transformers, transformers-base, unordered-containers
9, text, time, transformers, transformers-base, unordered-containers
10, utf8-string, vector, xml-conduit
10, utf8-string, vector, xml-conduit
11}:
11}:
12mkDerivation {
12mkDerivation {
13 pname = "aws";
13 pname = "aws";
14 version = "0.18";
14 version = "0.18";
15− src = fetchurl {
16− url = "http://example.org/";
17− sha256 = "abc";
15+ sha256 = "deadbeef";
18− };
19 isLibrary = true;
16 isLibrary = true;
20 isExecutable = true;
17 isExecutable = true;
21 libraryHaskellDepends = [
18 libraryHaskellDepends = [
@@ -35,4 +32,4 @@ mkDerivation {
35 homepage = "http://github.com/aristidb/aws";
32 homepage = "http://github.com/aristidb/aws";
36 description = "Amazon Web Services (AWS) for Haskell";
33 description = "Amazon Web Services (AWS) for Haskell";
37 license = stdenv.lib.licenses.bsd3;
34 license = stdenv.lib.licenses.bsd3;
38−}
35+}
test/golden-test-cases/bbdb.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, fetchurl, hspec, parsec }:
1+{ mkDerivation, base, hspec, parsec, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "bbdb";
3 pname = "bbdb";
4 version = "0.8";
4 version = "0.8";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base parsec ];
6 libraryHaskellDepends = [ base parsec ];
10 testHaskellDepends = [ base hspec parsec ];
7 testHaskellDepends = [ base hspec parsec ];
11 homepage = "https://github.com/henrylaxen/bbdb";
8 homepage = "https://github.com/henrylaxen/bbdb";
12 description = "Ability to read, write, and modify BBDB files";
9 description = "Ability to read, write, and modify BBDB files";
13 license = stdenv.lib.licenses.gpl3;
10 license = stdenv.lib.licenses.gpl3;
14−}
11+}
test/golden-test-cases/benchpress.nix.golden+3−6
@@ -1,11 +1,8 @@
1−{ mkDerivation, base, bytestring, fetchurl, mtl, time }:
1+{ mkDerivation, base, bytestring, mtl, stdenv, time }:
2mkDerivation {
2mkDerivation {
3 pname = "benchpress";
3 pname = "benchpress";
4 version = "0.2.2.10";
4 version = "0.2.2.10";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 isLibrary = true;
6 isLibrary = true;
10 isExecutable = true;
7 isExecutable = true;
11 libraryHaskellDepends = [ base mtl time ];
8 libraryHaskellDepends = [ base mtl time ];
@@ -13,4 +10,4 @@ mkDerivation {
13 homepage = "https://github.com/WillSewell/benchpress";
10 homepage = "https://github.com/WillSewell/benchpress";
14 description = "Micro-benchmarking with detailed statistics";
11 description = "Micro-benchmarking with detailed statistics";
15 license = stdenv.lib.licenses.bsd3;
12 license = stdenv.lib.licenses.bsd3;
16−}
13+}
test/golden-test-cases/binary-bits.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, binary, bytestring, fetchurl, QuickCheck
1+{ mkDerivation, base, binary, bytestring, QuickCheck, random
2−, random, test-framework, test-framework-quickcheck2
2+, stdenv, test-framework, test-framework-quickcheck2
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "binary-bits";
5 pname = "binary-bits";
6 version = "0.5";
6 version = "0.5";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base binary bytestring ];
8 libraryHaskellDepends = [ base binary bytestring ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 base binary bytestring QuickCheck random test-framework
10 base binary bytestring QuickCheck random test-framework
@@ -15,4 +12,4 @@ mkDerivation {
15 ];
12 ];
16 description = "Bit parsing/writing on top of binary";
13 description = "Bit parsing/writing on top of binary";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/binary-tagged.nix.golden+4−7
@@ -1,16 +1,13 @@
1{ mkDerivation, aeson, array, base, base16-bytestring, bifunctors
1{ mkDerivation, aeson, array, base, base16-bytestring, bifunctors
2, binary, binary-orphans, bytestring, containers, criterion
2, binary, binary-orphans, bytestring, containers, criterion
3−, deepseq, fetchurl, generics-sop, hashable, nats
3+, deepseq, generics-sop, hashable, nats, quickcheck-instances
4−, quickcheck-instances, scientific, semigroups, SHA, tagged, tasty
4+, scientific, semigroups, SHA, stdenv, tagged, tasty
5, tasty-quickcheck, text, time, unordered-containers, vector
5, tasty-quickcheck, text, time, unordered-containers, vector
6}:
6}:
7mkDerivation {
7mkDerivation {
8 pname = "binary-tagged";
8 pname = "binary-tagged";
9 version = "0.1.4.2";
9 version = "0.1.4.2";
10− src = fetchurl {
11− url = "http://example.org/";
12− sha256 = "abc";
10+ sha256 = "deadbeef";
13− };
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
15 aeson array base base16-bytestring binary bytestring containers
12 aeson array base base16-bytestring binary bytestring containers
16 generics-sop hashable nats scientific semigroups SHA tagged text
13 generics-sop hashable nats scientific semigroups SHA tagged text
@@ -30,4 +27,4 @@ mkDerivation {
30 homepage = "https://github.com/phadej/binary-tagged#readme";
27 homepage = "https://github.com/phadej/binary-tagged#readme";
31 description = "Tagged binary serialisation";
28 description = "Tagged binary serialisation";
32 license = stdenv.lib.licenses.bsd3;
29 license = stdenv.lib.licenses.bsd3;
33−}
30+}
test/golden-test-cases/bindings-uname.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "bindings-uname";
3 pname = "bindings-uname";
4 version = "0.1";
4 version = "0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 description = "Low-level binding to POSIX uname(3)";
7 description = "Low-level binding to POSIX uname(3)";
11 license = stdenv.lib.licenses.publicDomain;
8 license = stdenv.lib.licenses.publicDomain;
12−}
9+}
test/golden-test-cases/bioalign.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, biocore, bytestring, fetchurl }:
1+{ mkDerivation, base, biocore, bytestring, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "bioalign";
3 pname = "bioalign";
4 version = "0.0.5";
4 version = "0.0.5";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base biocore bytestring ];
6 libraryHaskellDepends = [ base biocore bytestring ];
10 homepage = "https://patch-tag.com/r/dfornika/biophd/home";
7 homepage = "https://patch-tag.com/r/dfornika/biophd/home";
11 description = "Data structures and helper functions for calculating alignments";
8 description = "Data structures and helper functions for calculating alignments";
12 license = "GPL";
9 license = "GPL";
13−}
10+}
test/golden-test-cases/bits.nix.golden+4−7
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, bytes, Cabal, cabal-doctest, doctest
1+{ mkDerivation, base, bytes, Cabal, cabal-doctest, doctest, mtl
2−, fetchurl, mtl, transformers
2+, stdenv, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "bits";
5 pname = "bits";
6 version = "0.5.1";
6 version = "0.5.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 setupHaskellDepends = [ base Cabal cabal-doctest ];
8 setupHaskellDepends = [ base Cabal cabal-doctest ];
12 libraryHaskellDepends = [ base bytes mtl transformers ];
9 libraryHaskellDepends = [ base bytes mtl transformers ];
13 testHaskellDepends = [ base doctest ];
10 testHaskellDepends = [ base doctest ];
14 homepage = "http://github.com/ekmett/bits";
11 homepage = "http://github.com/ekmett/bits";
15 description = "Various bit twiddling and bitwise serialization primitives";
12 description = "Various bit twiddling and bitwise serialization primitives";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/blank-canvas.nix.golden+4−7
@@ -1,16 +1,13 @@
1{ mkDerivation, aeson, base, base-compat, base64-bytestring
1{ mkDerivation, aeson, base, base-compat, base64-bytestring
2, bytestring, colour, containers, data-default-class, directory
2, bytestring, colour, containers, data-default-class, directory
3−, fetchurl, http-types, kansas-comet, mime-types, process, scotty
3+, http-types, kansas-comet, mime-types, process, scotty, shake
4−, shake, stm, text, text-show, time, transformers, unix, vector
4+, stdenv, stm, text, text-show, time, transformers, unix, vector
5, wai, wai-extra, warp
5, wai, wai-extra, warp
6}:
6}:
7mkDerivation {
7mkDerivation {
8 pname = "blank-canvas";
8 pname = "blank-canvas";
9 version = "0.6.1";
9 version = "0.6.1";
10− src = fetchurl {
11− url = "http://example.org/";
12− sha256 = "abc";
10+ sha256 = "deadbeef";
13− };
14 enableSeparateDataOutput = true;
11 enableSeparateDataOutput = true;
15 libraryHaskellDepends = [
12 libraryHaskellDepends = [
16 aeson base base-compat base64-bytestring bytestring colour
13 aeson base base-compat base64-bytestring bytestring colour
@@ -23,4 +20,4 @@ mkDerivation {
23 homepage = "https://github.com/ku-fpg/blank-canvas/wiki";
20 homepage = "https://github.com/ku-fpg/blank-canvas/wiki";
24 description = "HTML5 Canvas Graphics Library";
21 description = "HTML5 Canvas Graphics Library";
25 license = stdenv.lib.licenses.bsd3;
22 license = stdenv.lib.licenses.bsd3;
26−}
23+}
test/golden-test-cases/blaze-html.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, base, blaze-builder, blaze-markup, bytestring
1{ mkDerivation, base, blaze-builder, blaze-markup, bytestring
2−, containers, fetchurl, HUnit, QuickCheck, test-framework
2+, containers, HUnit, QuickCheck, stdenv, test-framework
3, test-framework-hunit, test-framework-quickcheck2, text
3, test-framework-hunit, test-framework-quickcheck2, text
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "blaze-html";
6 pname = "blaze-html";
7 version = "0.9.0.1";
7 version = "0.9.0.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 base blaze-builder blaze-markup bytestring text
10 base blaze-builder blaze-markup bytestring text
14 ];
11 ];
@@ -20,4 +17,4 @@ mkDerivation {
20 homepage = "http://jaspervdj.be/blaze";
17 homepage = "http://jaspervdj.be/blaze";
21 description = "A blazingly fast HTML combinator library for Haskell";
18 description = "A blazingly fast HTML combinator library for Haskell";
22 license = stdenv.lib.licenses.bsd3;
19 license = stdenv.lib.licenses.bsd3;
23−}
20+}
test/golden-test-cases/blaze-markup.nix.golden+4−7
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, blaze-builder, bytestring, containers
1+{ mkDerivation, base, blaze-builder, bytestring, containers, HUnit
2−, fetchurl, HUnit, QuickCheck, test-framework, test-framework-hunit
2+, QuickCheck, stdenv, test-framework, test-framework-hunit
3, test-framework-quickcheck2, text
3, test-framework-quickcheck2, text
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "blaze-markup";
6 pname = "blaze-markup";
7 version = "0.8.0.0";
7 version = "0.8.0.0";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [ base blaze-builder bytestring text ];
9 libraryHaskellDepends = [ base blaze-builder bytestring text ];
13 testHaskellDepends = [
10 testHaskellDepends = [
14 base blaze-builder bytestring containers HUnit QuickCheck
11 base blaze-builder bytestring containers HUnit QuickCheck
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "http://jaspervdj.be/blaze";
14 homepage = "http://jaspervdj.be/blaze";
18 description = "A blazingly fast markup combinator library for Haskell";
15 description = "A blazingly fast markup combinator library for Haskell";
19 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
20−}
17+}
test/golden-test-cases/blaze-svg.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, blaze-markup, fetchurl, mtl }:
1+{ mkDerivation, base, blaze-markup, mtl, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "blaze-svg";
3 pname = "blaze-svg";
4 version = "0.3.6.1";
4 version = "0.3.6.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base blaze-markup mtl ];
6 libraryHaskellDepends = [ base blaze-markup mtl ];
10 homepage = "https://github.com/deepakjois/blaze-svg";
7 homepage = "https://github.com/deepakjois/blaze-svg";
11 description = "SVG combinator library";
8 description = "SVG combinator library";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/blosum.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, containers, fasta, fetchurl, lens
1+{ mkDerivation, base, containers, fasta, lens, optparse-applicative
2−, optparse-applicative, pipes, pipes-text, split, text, text-show
2+, pipes, pipes-text, split, stdenv, text, text-show
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "blosum";
5 pname = "blosum";
6 version = "0.1.1.4";
6 version = "0.1.1.4";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = true;
8 isLibrary = true;
12 isExecutable = true;
9 isExecutable = true;
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
@@ -20,4 +17,4 @@ mkDerivation {
20 homepage = "http://github.com/GregorySchwartz/blosum#readme";
17 homepage = "http://github.com/GregorySchwartz/blosum#readme";
21 description = "BLOSUM generator";
18 description = "BLOSUM generator";
22 license = stdenv.lib.licenses.gpl2;
19 license = stdenv.lib.licenses.gpl2;
23−}
20+}
test/golden-test-cases/boomerang.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, fetchurl, mtl, template-haskell, text }:
1+{ mkDerivation, base, mtl, stdenv, template-haskell, text }:
2mkDerivation {
2mkDerivation {
3 pname = "boomerang";
3 pname = "boomerang";
4 version = "1.4.5.3";
4 version = "1.4.5.3";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base mtl template-haskell text ];
6 libraryHaskellDepends = [ base mtl template-haskell text ];
10 description = "Library for invertible parsing and printing";
7 description = "Library for invertible parsing and printing";
11 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
12−}
9+}
test/golden-test-cases/boxes.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, QuickCheck, split }:
1+{ mkDerivation, base, QuickCheck, split, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "boxes";
3 pname = "boxes";
4 version = "0.1.4";
4 version = "0.1.4";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base split ];
6 libraryHaskellDepends = [ base split ];
10 testHaskellDepends = [ base QuickCheck split ];
7 testHaskellDepends = [ base QuickCheck split ];
11 description = "2D text pretty-printing library";
8 description = "2D text pretty-printing library";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/brittany.nix.golden+5−8
@@ -1,17 +1,14 @@
1{ mkDerivation, aeson, base, butcher, bytestring, cmdargs
1{ mkDerivation, aeson, base, butcher, bytestring, cmdargs
2, containers, czipwith, data-tree-print, deepseq, directory, extra
2, containers, czipwith, data-tree-print, deepseq, directory, extra
3−, fetchurl, filepath, ghc, ghc-boot-th, ghc-exactprint, ghc-paths
3+, filepath, ghc, ghc-boot-th, ghc-exactprint, ghc-paths, hspec
4−, hspec, monad-memo, mtl, multistate, neat-interpolation, parsec
4+, monad-memo, mtl, multistate, neat-interpolation, parsec, pretty
5−, pretty, safe, semigroups, strict, syb, text, transformers
5+, safe, semigroups, stdenv, strict, syb, text, transformers
6, uniplate, unsafe, yaml
6, uniplate, unsafe, yaml
7}:
7}:
8mkDerivation {
8mkDerivation {
9 pname = "brittany";
9 pname = "brittany";
10 version = "0.9.0.0";
10 version = "0.9.0.0";
11− src = fetchurl {
12− url = "http://example.org/";
13− sha256 = "abc";
11+ sha256 = "deadbeef";
14− };
15 isLibrary = true;
12 isLibrary = true;
16 isExecutable = true;
13 isExecutable = true;
17 libraryHaskellDepends = [
14 libraryHaskellDepends = [
@@ -38,4 +35,4 @@ mkDerivation {
38 homepage = "https://github.com/lspitzner/brittany/";
35 homepage = "https://github.com/lspitzner/brittany/";
39 description = "Haskell source code formatter";
36 description = "Haskell source code formatter";
40 license = stdenv.lib.licenses.agpl3;
37 license = stdenv.lib.licenses.agpl3;
41−}
38+}
test/golden-test-cases/broadcast-chan.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "broadcast-chan";
3 pname = "broadcast-chan";
4 version = "0.1.1";
4 version = "0.1.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 homepage = "https://github.com/merijn/broadcast-chan";
7 homepage = "https://github.com/merijn/broadcast-chan";
11 description = "Broadcast channel type that avoids 0 reader space leaks";
8 description = "Broadcast channel type that avoids 0 reader space leaks";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/butcher.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, base, bifunctors, containers, deque, either, extra
1{ mkDerivation, base, bifunctors, containers, deque, either, extra
2−, fetchurl, free, microlens, microlens-th, mtl, multistate, pretty
2+, free, microlens, microlens-th, mtl, multistate, pretty, stdenv
3, transformers, unsafe, void
3, transformers, unsafe, void
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "butcher";
6 pname = "butcher";
7 version = "1.2.1.0";
7 version = "1.2.1.0";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 base bifunctors containers deque either extra free microlens
10 base bifunctors containers deque either extra free microlens
14 microlens-th mtl multistate pretty transformers unsafe void
11 microlens-th mtl multistate pretty transformers unsafe void
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/lspitzner/butcher/";
13 homepage = "https://github.com/lspitzner/butcher/";
17 description = "Chops a command or program invocation into digestable pieces";
14 description = "Chops a command or program invocation into digestable pieces";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/bzlib.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, bzip2, fetchurl }:
1+{ mkDerivation, base, bytestring, bzip2, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "bzlib";
3 pname = "bzlib";
4 version = "0.5.0.5";
4 version = "0.5.0.5";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base bytestring ];
6 libraryHaskellDepends = [ base bytestring ];
10 librarySystemDepends = [ bzip2 ];
7 librarySystemDepends = [ bzip2 ];
11 description = "Compression and decompression in the bzip2 format";
8 description = "Compression and decompression in the bzip2 format";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/case-insensitive.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, criterion, deepseq, fetchurl
1+{ mkDerivation, base, bytestring, criterion, deepseq, hashable
2−, hashable, HUnit, test-framework, test-framework-hunit, text
2+, HUnit, stdenv, test-framework, test-framework-hunit, text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "case-insensitive";
5 pname = "case-insensitive";
6 version = "1.2.0.10";
6 version = "1.2.0.10";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base bytestring deepseq hashable text ];
8 libraryHaskellDepends = [ base bytestring deepseq hashable text ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 base bytestring HUnit test-framework test-framework-hunit text
10 base bytestring HUnit test-framework test-framework-hunit text
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/basvandijk/case-insensitive";
13 homepage = "https://github.com/basvandijk/case-insensitive";
17 description = "Case insensitive string comparison";
14 description = "Case insensitive string comparison";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/cassava-conduit.nix.golden+4−7
@@ -1,14 +1,11 @@
1{ mkDerivation, array, base, bifunctors, bytestring, cassava
1{ mkDerivation, array, base, bifunctors, bytestring, cassava
2−, conduit, conduit-extra, containers, criterion, fetchurl, mtl
2+, conduit, conduit-extra, containers, criterion, mtl, QuickCheck
3−, QuickCheck, text
3+, stdenv, text
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "cassava-conduit";
6 pname = "cassava-conduit";
7 version = "0.4.0.1";
7 version = "0.4.0.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 array base bifunctors bytestring cassava conduit conduit-extra
10 array base bifunctors bytestring cassava conduit conduit-extra
14 containers mtl text
11 containers mtl text
@@ -20,4 +17,4 @@ mkDerivation {
20 homepage = "https://github.com/domdere/cassava-conduit";
17 homepage = "https://github.com/domdere/cassava-conduit";
21 description = "Conduit interface for cassava package";
18 description = "Conduit interface for cassava package";
22 license = stdenv.lib.licenses.bsd3;
19 license = stdenv.lib.licenses.bsd3;
23−}
20+}
test/golden-test-cases/cassette.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "cassette";
3 pname = "cassette";
4 version = "0.1.0";
4 version = "0.1.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 description = "A combinator library for simultaneously defining parsers and pretty printers";
7 description = "A combinator library for simultaneously defining parsers and pretty printers";
11 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
12−}
9+}
test/golden-test-cases/cereal-text.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, cereal, fetchurl, text }:
1+{ mkDerivation, base, cereal, stdenv, text }:
2mkDerivation {
2mkDerivation {
3 pname = "cereal-text";
3 pname = "cereal-text";
4 version = "0.1.0.2";
4 version = "0.1.0.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base cereal text ];
6 libraryHaskellDepends = [ base cereal text ];
10 homepage = "https://github.com/ulikoehler/cereal-text";
7 homepage = "https://github.com/ulikoehler/cereal-text";
11 description = "Data.Text instances for the cereal serialization library";
8 description = "Data.Text instances for the cereal serialization library";
12 license = stdenv.lib.licenses.asl20;
9 license = stdenv.lib.licenses.asl20;
13−}
10+}
test/golden-test-cases/cheapskate.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, base, blaze-html, bytestring, containers
1{ mkDerivation, base, blaze-html, bytestring, containers
2−, data-default, deepseq, fetchurl, mtl, syb, text, uniplate
2+, data-default, deepseq, mtl, stdenv, syb, text, uniplate
3, xss-sanitize
3, xss-sanitize
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "cheapskate";
6 pname = "cheapskate";
7 version = "0.1.1";
7 version = "0.1.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 isLibrary = true;
9 isLibrary = true;
13 isExecutable = true;
10 isExecutable = true;
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
@@ -19,4 +16,4 @@ mkDerivation {
19 homepage = "http://github.com/jgm/cheapskate";
16 homepage = "http://github.com/jgm/cheapskate";
20 description = "Experimental markdown processor";
17 description = "Experimental markdown processor";
21 license = stdenv.lib.licenses.bsd3;
18 license = stdenv.lib.licenses.bsd3;
22−}
19+}
test/golden-test-cases/chell.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, ansi-terminal, base, bytestring, fetchurl, options
1+{ mkDerivation, ansi-terminal, base, bytestring, options, patience
2−, patience, random, template-haskell, text, transformers
2+, random, stdenv, template-haskell, text, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "chell";
5 pname = "chell";
6 version = "0.4.0.2";
6 version = "0.4.0.2";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 ansi-terminal base bytestring options patience random
9 ansi-terminal base bytestring options patience random
13 template-haskell text transformers
10 template-haskell text transformers
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://john-millikin.com/software/chell/";
12 homepage = "https://john-millikin.com/software/chell/";
16 description = "A simple and intuitive library for automated testing";
13 description = "A simple and intuitive library for automated testing";
17 license = stdenv.lib.licenses.mit;
14 license = stdenv.lib.licenses.mit;
18−}
15+}
test/golden-test-cases/clumpiness.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, containers, fetchurl, tree-fun }:
1+{ mkDerivation, base, containers, stdenv, tree-fun }:
2mkDerivation {
2mkDerivation {
3 pname = "clumpiness";
3 pname = "clumpiness";
4 version = "0.17.0.0";
4 version = "0.17.0.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base containers tree-fun ];
6 libraryHaskellDepends = [ base containers tree-fun ];
10 description = "Calculate the clumpiness of leaf properties in a tree";
7 description = "Calculate the clumpiness of leaf properties in a tree";
11 license = stdenv.lib.licenses.gpl3;
8 license = stdenv.lib.licenses.gpl3;
12−}
9+}
test/golden-test-cases/code-page.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "code-page";
3 pname = "code-page";
4 version = "0.1.3";
4 version = "0.1.3";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 testHaskellDepends = [ base ];
7 testHaskellDepends = [ base ];
11 homepage = "https://github.com/RyanGlScott/code-page";
8 homepage = "https://github.com/RyanGlScott/code-page";
12 description = "Windows code page library for Haskell";
9 description = "Windows code page library for Haskell";
13 license = stdenv.lib.licenses.bsd3;
10 license = stdenv.lib.licenses.bsd3;
14−}
11+}
test/golden-test-cases/colorize-haskell.nix.golden+3−6
@@ -1,11 +1,8 @@
1−{ mkDerivation, ansi-terminal, base, fetchurl, haskell-lexer }:
1+{ mkDerivation, ansi-terminal, base, haskell-lexer, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "colorize-haskell";
3 pname = "colorize-haskell";
4 version = "1.0.1";
4 version = "1.0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 isLibrary = true;
6 isLibrary = true;
10 isExecutable = true;
7 isExecutable = true;
11 libraryHaskellDepends = [ ansi-terminal base haskell-lexer ];
8 libraryHaskellDepends = [ ansi-terminal base haskell-lexer ];
@@ -13,4 +10,4 @@ mkDerivation {
13 homepage = "http://github.com/yav/colorize-haskell";
10 homepage = "http://github.com/yav/colorize-haskell";
14 description = "Highligt Haskell source";
11 description = "Highligt Haskell source";
15 license = stdenv.lib.licenses.bsd3;
12 license = stdenv.lib.licenses.bsd3;
16−}
13+}
test/golden-test-cases/countable.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, fetchurl, silently, tasty
1+{ mkDerivation, base, bytestring, silently, stdenv, tasty
2, tasty-golden, tasty-hunit
2, tasty-golden, tasty-hunit
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "countable";
5 pname = "countable";
6 version = "1.0";
6 version = "1.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base ];
8 libraryHaskellDepends = [ base ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 base bytestring silently tasty tasty-golden tasty-hunit
10 base bytestring silently tasty tasty-golden tasty-hunit
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/AshleyYakeley/countable";
12 homepage = "https://github.com/AshleyYakeley/countable";
16 description = "Countable, Searchable, Finite, Empty classes";
13 description = "Countable, Searchable, Finite, Empty classes";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/cpu.nix.golden+3−6
@@ -1,11 +1,8 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "cpu";
3 pname = "cpu";
4 version = "0.1.2";
4 version = "0.1.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 isLibrary = true;
6 isLibrary = true;
10 isExecutable = true;
7 isExecutable = true;
11 enableSeparateDataOutput = true;
8 enableSeparateDataOutput = true;
@@ -13,4 +10,4 @@ mkDerivation {
13 homepage = "http://github.com/vincenthz/hs-cpu";
10 homepage = "http://github.com/vincenthz/hs-cpu";
14 description = "Cpu information and properties helpers";
11 description = "Cpu information and properties helpers";
15 license = stdenv.lib.licenses.bsd3;
12 license = stdenv.lib.licenses.bsd3;
16−}
13+}
test/golden-test-cases/criterion.nix.golden+4−7
@@ -1,18 +1,15 @@
1{ mkDerivation, aeson, ansi-wl-pprint, base, base-compat, binary
1{ mkDerivation, aeson, ansi-wl-pprint, base, base-compat, binary
2, bytestring, cassava, code-page, containers, deepseq, directory
2, bytestring, cassava, code-page, containers, deepseq, directory
3−, exceptions, fetchurl, filepath, Glob, HUnit, js-flot, js-jquery
3+, exceptions, filepath, Glob, HUnit, js-flot, js-jquery
4, microstache, mtl, mwc-random, optparse-applicative, parsec
4, microstache, mtl, mwc-random, optparse-applicative, parsec
5−, QuickCheck, semigroups, statistics, tasty, tasty-hunit
5+, QuickCheck, semigroups, statistics, stdenv, tasty, tasty-hunit
6, tasty-quickcheck, text, time, transformers, transformers-compat
6, tasty-quickcheck, text, time, transformers, transformers-compat
7, vector, vector-algorithms
7, vector, vector-algorithms
8}:
8}:
9mkDerivation {
9mkDerivation {
10 pname = "criterion";
10 pname = "criterion";
11 version = "1.2.6.0";
11 version = "1.2.6.0";
12− src = fetchurl {
13− url = "http://example.org/";
14− sha256 = "abc";
12+ sha256 = "deadbeef";
15− };
16 isLibrary = true;
13 isLibrary = true;
17 isExecutable = true;
14 isExecutable = true;
18 enableSeparateDataOutput = true;
15 enableSeparateDataOutput = true;
@@ -31,4 +28,4 @@ mkDerivation {
31 homepage = "http://www.serpentine.com/criterion";
28 homepage = "http://www.serpentine.com/criterion";
32 description = "Robust, reliable performance measurement and analysis";
29 description = "Robust, reliable performance measurement and analysis";
33 license = stdenv.lib.licenses.bsd3;
30 license = stdenv.lib.licenses.bsd3;
34−}
31+}
test/golden-test-cases/crypt-sha512.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, attoparsec, base, bytestring, cryptohash-sha512
1{ mkDerivation, attoparsec, base, bytestring, cryptohash-sha512
2−, fetchurl, quickcheck-instances, tasty, tasty-hunit
2+, quickcheck-instances, stdenv, tasty, tasty-hunit
3, tasty-quickcheck
3, tasty-quickcheck
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "crypt-sha512";
6 pname = "crypt-sha512";
7 version = "0";
7 version = "0";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 attoparsec base bytestring cryptohash-sha512
10 attoparsec base bytestring cryptohash-sha512
14 ];
11 ];
@@ -19,4 +16,4 @@ mkDerivation {
19 homepage = "https://github.com/phadej/crypt-sha512";
16 homepage = "https://github.com/phadej/crypt-sha512";
20 description = "Pure Haskell implelementation for GNU SHA512 crypt algorithm";
17 description = "Pure Haskell implelementation for GNU SHA512 crypt algorithm";
21 license = stdenv.lib.licenses.bsd3;
18 license = stdenv.lib.licenses.bsd3;
22−}
19+}
test/golden-test-cases/crypto-random-api.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, entropy, fetchurl }:
1+{ mkDerivation, base, bytestring, entropy, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "crypto-random-api";
3 pname = "crypto-random-api";
4 version = "0.2.0";
4 version = "0.2.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base bytestring entropy ];
6 libraryHaskellDepends = [ base bytestring entropy ];
10 homepage = "http://github.com/vincenthz/hs-crypto-random-api";
7 homepage = "http://github.com/vincenthz/hs-crypto-random-api";
11 description = "Simple random generators API for cryptography related code";
8 description = "Simple random generators API for cryptography related code";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/csv.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, fetchurl, filepath, parsec }:
1+{ mkDerivation, base, filepath, parsec, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "csv";
3 pname = "csv";
4 version = "0.1.2";
4 version = "0.1.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base filepath parsec ];
6 libraryHaskellDepends = [ base filepath parsec ];
10 description = "CSV loader and dumper";
7 description = "CSV loader and dumper";
11 license = stdenv.lib.licenses.mit;
8 license = stdenv.lib.licenses.mit;
12−}
9+}
test/golden-test-cases/data-accessor.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, array, base, containers, fetchurl, transformers }:
1+{ mkDerivation, array, base, containers, stdenv, transformers }:
2mkDerivation {
2mkDerivation {
3 pname = "data-accessor";
3 pname = "data-accessor";
4 version = "0.2.2.7";
4 version = "0.2.2.7";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ array base containers transformers ];
6 libraryHaskellDepends = [ array base containers transformers ];
10 homepage = "http://www.haskell.org/haskellwiki/Record_access";
7 homepage = "http://www.haskell.org/haskellwiki/Record_access";
11 description = "Utilities for accessing and manipulating fields of records";
8 description = "Utilities for accessing and manipulating fields of records";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/data-default-instances-containers.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, containers, data-default-class, fetchurl }:
1+{ mkDerivation, base, containers, data-default-class, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "data-default-instances-containers";
3 pname = "data-default-instances-containers";
4 version = "0.0.1";
4 version = "0.0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base containers data-default-class ];
6 libraryHaskellDepends = [ base containers data-default-class ];
10 description = "Default instances for types in containers";
7 description = "Default instances for types in containers";
11 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
12−}
9+}
test/golden-test-cases/data-endian.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "data-endian";
3 pname = "data-endian";
4 version = "0.1.1";
4 version = "0.1.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 homepage = "https://github.com/mvv/data-endian";
7 homepage = "https://github.com/mvv/data-endian";
11 description = "Endian-sensitive data";
8 description = "Endian-sensitive data";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/data-msgpack.nix.golden+4−7
@@ -1,14 +1,11 @@
1{ mkDerivation, base, binary, bytestring, containers, criterion
1{ mkDerivation, base, binary, bytestring, containers, criterion
2−, data-binary-ieee754, deepseq, fetchurl, groom, hashable, hspec
2+, data-binary-ieee754, deepseq, groom, hashable, hspec, QuickCheck
3−, QuickCheck, text, unordered-containers, vector, void
3+, stdenv, text, unordered-containers, vector, void
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "data-msgpack";
6 pname = "data-msgpack";
7 version = "0.0.10";
7 version = "0.0.10";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 isLibrary = true;
9 isLibrary = true;
13 isExecutable = true;
10 isExecutable = true;
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
@@ -26,4 +23,4 @@ mkDerivation {
26 homepage = "http://msgpack.org/";
23 homepage = "http://msgpack.org/";
27 description = "A Haskell implementation of MessagePack";
24 description = "A Haskell implementation of MessagePack";
28 license = stdenv.lib.licenses.bsd3;
25 license = stdenv.lib.licenses.bsd3;
29−}
26+}
test/golden-test-cases/data-serializer.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, base, binary, bytestring, cereal, data-endian
1{ mkDerivation, base, binary, bytestring, cereal, data-endian
2−, fetchurl, parsers, semigroups, split, tasty, tasty-quickcheck
2+, parsers, semigroups, split, stdenv, tasty, tasty-quickcheck
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "data-serializer";
5 pname = "data-serializer";
6 version = "0.3.2";
6 version = "0.3.2";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base binary bytestring cereal data-endian parsers semigroups split
9 base binary bytestring cereal data-endian parsers semigroups split
13 ];
10 ];
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "https://github.com/mvv/data-serializer";
14 homepage = "https://github.com/mvv/data-serializer";
18 description = "Common API for serialization libraries";
15 description = "Common API for serialization libraries";
19 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
20−}
17+}
test/golden-test-cases/deque.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "deque";
3 pname = "deque";
4 version = "0.2";
4 version = "0.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 homepage = "https://github.com/nikita-volkov/deque";
7 homepage = "https://github.com/nikita-volkov/deque";
11 description = "Double-ended queue";
8 description = "Double-ended queue";
12 license = stdenv.lib.licenses.mit;
9 license = stdenv.lib.licenses.mit;
13−}
10+}
test/golden-test-cases/dhall-bash.nix.golden+4−7
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, bytestring, containers, dhall, fetchurl
1+{ mkDerivation, base, bytestring, containers, dhall
2−, neat-interpolation, optparse-generic, shell-escape, text
2+, neat-interpolation, optparse-generic, shell-escape, stdenv, text
3, text-format, trifecta, vector
3, text-format, trifecta, vector
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "dhall-bash";
6 pname = "dhall-bash";
7 version = "1.0.6";
7 version = "1.0.6";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 isLibrary = true;
9 isLibrary = true;
13 isExecutable = true;
10 isExecutable = true;
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
@@ -20,4 +17,4 @@ mkDerivation {
20 ];
17 ];
21 description = "Compile Dhall to Bash";
18 description = "Compile Dhall to Bash";
22 license = stdenv.lib.licenses.bsd3;
19 license = stdenv.lib.licenses.bsd3;
23−}
20+}
test/golden-test-cases/diagrams-solve.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, deepseq, fetchurl, tasty, tasty-hunit
1+{ mkDerivation, base, deepseq, stdenv, tasty, tasty-hunit
2, tasty-quickcheck
2, tasty-quickcheck
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "diagrams-solve";
5 pname = "diagrams-solve";
6 version = "0.1.1";
6 version = "0.1.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base ];
8 libraryHaskellDepends = [ base ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 base deepseq tasty tasty-hunit tasty-quickcheck
10 base deepseq tasty tasty-hunit tasty-quickcheck
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "http://projects.haskell.org/diagrams";
12 homepage = "http://projects.haskell.org/diagrams";
16 description = "Pure Haskell solver routines used by diagrams";
13 description = "Pure Haskell solver routines used by diagrams";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/discrimination.nix.golden+4−7
@@ -1,15 +1,12 @@
1{ mkDerivation, array, base, containers, contravariant, criterion
1{ mkDerivation, array, base, containers, contravariant, criterion
2−, deepseq, fetchurl, ghc-prim, hashable, primitive, profunctors
2+, deepseq, ghc-prim, hashable, primitive, profunctors, promises
3−, promises, semigroups, transformers, transformers-compat
3+, semigroups, stdenv, transformers, transformers-compat
4, unordered-containers, vector, void
4, unordered-containers, vector, void
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "discrimination";
7 pname = "discrimination";
8 version = "0.3";
8 version = "0.3";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
14 array base containers contravariant deepseq ghc-prim hashable
11 array base containers contravariant deepseq ghc-prim hashable
15 primitive profunctors promises semigroups transformers
12 primitive profunctors promises semigroups transformers
@@ -22,4 +19,4 @@ mkDerivation {
22 homepage = "http://github.com/ekmett/discrimination/";
19 homepage = "http://github.com/ekmett/discrimination/";
23 description = "Fast generic linear-time sorting, joins and container construction";
20 description = "Fast generic linear-time sorting, joins and container construction";
24 license = stdenv.lib.licenses.bsd3;
21 license = stdenv.lib.licenses.bsd3;
25−}
22+}
test/golden-test-cases/dotenv.nix.golden+5−8
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, base-compat, directory, exceptions, fetchurl
1+{ mkDerivation, base, base-compat, directory, exceptions, hspec
2−, hspec, hspec-megaparsec, megaparsec, optparse-applicative
2+, hspec-megaparsec, megaparsec, optparse-applicative, process
3−, process, text, transformers, yaml
3+, stdenv, text, transformers, yaml
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "dotenv";
6 pname = "dotenv";
7 version = "0.5.2.1";
7 version = "0.5.2.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 isLibrary = true;
9 isLibrary = true;
13 isExecutable = true;
10 isExecutable = true;
14 enableSeparateDataOutput = true;
11 enableSeparateDataOutput = true;
@@ -27,4 +24,4 @@ mkDerivation {
27 homepage = "https://github.com/stackbuilders/dotenv-hs";
24 homepage = "https://github.com/stackbuilders/dotenv-hs";
28 description = "Loads environment variables from dotenv files";
25 description = "Loads environment variables from dotenv files";
29 license = stdenv.lib.licenses.mit;
26 license = stdenv.lib.licenses.mit;
30−}
27+}
test/golden-test-cases/dotnet-timespan.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "dotnet-timespan";
3 pname = "dotnet-timespan";
4 version = "0.0.1.0";
4 version = "0.0.1.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 homepage = "http://github.com/YoEight/dotnet-timespan";
7 homepage = "http://github.com/YoEight/dotnet-timespan";
11 description = ".NET TimeSpan";
8 description = ".NET TimeSpan";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/dpor.nix.golden+4−7
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, containers, deepseq, fetchurl, random
1+{ mkDerivation, base, containers, deepseq, random, semigroups
2−, semigroups
2+, stdenv
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "dpor";
5 pname = "dpor";
6 version = "0.2.0.0";
6 version = "0.2.0.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base containers deepseq random semigroups
9 base containers deepseq random semigroups
13 ];
10 ];
14 homepage = "https://github.com/barrucadu/dejafu";
11 homepage = "https://github.com/barrucadu/dejafu";
15 description = "A generic implementation of dynamic partial-order reduction (DPOR) for testing arbitrary models of concurrency";
12 description = "A generic implementation of dynamic partial-order reduction (DPOR) for testing arbitrary models of concurrency";
16 license = stdenv.lib.licenses.mit;
13 license = stdenv.lib.licenses.mit;
17−}
14+}
test/golden-test-cases/drawille.nix.golden+3−6
@@ -1,11 +1,8 @@
1−{ mkDerivation, base, containers, fetchurl, hspec, QuickCheck }:
1+{ mkDerivation, base, containers, hspec, QuickCheck, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "drawille";
3 pname = "drawille";
4 version = "0.1.2.0";
4 version = "0.1.2.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 isLibrary = true;
6 isLibrary = true;
10 isExecutable = true;
7 isExecutable = true;
11 libraryHaskellDepends = [ base containers ];
8 libraryHaskellDepends = [ base containers ];
@@ -13,4 +10,4 @@ mkDerivation {
13 homepage = "https://github.com/yamadapc/haskell-drawille#readme";
10 homepage = "https://github.com/yamadapc/haskell-drawille#readme";
14 description = "A port of asciimoo's drawille to haskell";
11 description = "A port of asciimoo's drawille to haskell";
15 license = stdenv.lib.licenses.gpl3;
12 license = stdenv.lib.licenses.gpl3;
16−}
13+}
test/golden-test-cases/drifter-postgresql.nix.golden+5−8
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, containers, drifter, either, fetchurl, mtl
1+{ mkDerivation, base, containers, drifter, either, mtl
2−, postgresql-simple, tasty, tasty-hunit, text, time, transformers
2+, postgresql-simple, stdenv, tasty, tasty-hunit, text, time
3−, transformers-compat
3+, transformers, transformers-compat
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "drifter-postgresql";
6 pname = "drifter-postgresql";
7 version = "0.2.1";
7 version = "0.2.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 base containers drifter mtl postgresql-simple time transformers
10 base containers drifter mtl postgresql-simple time transformers
14 transformers-compat
11 transformers-compat
@@ -19,4 +16,4 @@ mkDerivation {
19 homepage = "http://github.com/michaelxavier/drifter-postgresql";
16 homepage = "http://github.com/michaelxavier/drifter-postgresql";
20 description = "PostgreSQL support for the drifter schema migration tool";
17 description = "PostgreSQL support for the drifter schema migration tool";
21 license = stdenv.lib.licenses.mit;
18 license = stdenv.lib.licenses.mit;
22−}
19+}
test/golden-test-cases/ede.nix.golden+4−7
@@ -1,16 +1,13 @@
1{ mkDerivation, aeson, ansi-wl-pprint, base, bifunctors, bytestring
1{ mkDerivation, aeson, ansi-wl-pprint, base, bifunctors, bytestring
2−, comonad, directory, double-conversion, fetchurl, filepath, free
2+, comonad, directory, double-conversion, filepath, free, lens, mtl
3−, lens, mtl, parsers, scientific, semigroups, tasty, tasty-golden
3+, parsers, scientific, semigroups, stdenv, tasty, tasty-golden
4, text, text-format, text-manipulate, trifecta
4, text, text-format, text-manipulate, trifecta
5, unordered-containers, vector
5, unordered-containers, vector
6}:
6}:
7mkDerivation {
7mkDerivation {
8 pname = "ede";
8 pname = "ede";
9 version = "0.2.8.7";
9 version = "0.2.8.7";
10− src = fetchurl {
11− url = "http://example.org/";
12− sha256 = "abc";
10+ sha256 = "deadbeef";
13− };
14 enableSeparateDataOutput = true;
11 enableSeparateDataOutput = true;
15 libraryHaskellDepends = [
12 libraryHaskellDepends = [
16 aeson ansi-wl-pprint base bifunctors bytestring comonad directory
13 aeson ansi-wl-pprint base bifunctors bytestring comonad directory
@@ -24,4 +21,4 @@ mkDerivation {
24 homepage = "http://github.com/brendanhay/ede";
21 homepage = "http://github.com/brendanhay/ede";
25 description = "Templating language with similar syntax and features to Liquid or Jinja2";
22 description = "Templating language with similar syntax and features to Liquid or Jinja2";
26 license = "unknown";
23 license = "unknown";
27−}
24+}
test/golden-test-cases/ekg-cloudwatch.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, amazonka, amazonka-cloudwatch, amazonka-core, base
1{ mkDerivation, amazonka, amazonka-cloudwatch, amazonka-core, base
2−, bytestring, ekg-core, fetchurl, lens, resourcet, semigroups, text
2+, bytestring, ekg-core, lens, resourcet, semigroups, stdenv, text
3, time, unordered-containers
3, time, unordered-containers
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "ekg-cloudwatch";
6 pname = "ekg-cloudwatch";
7 version = "0.0.1.6";
7 version = "0.0.1.6";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 amazonka amazonka-cloudwatch amazonka-core base bytestring ekg-core
10 amazonka amazonka-cloudwatch amazonka-core base bytestring ekg-core
14 lens resourcet semigroups text time unordered-containers
11 lens resourcet semigroups text time unordered-containers
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/sellerlabs/ekg-cloudwatch#readme";
13 homepage = "https://github.com/sellerlabs/ekg-cloudwatch#readme";
17 description = "An ekg backend for Amazon Cloudwatch";
14 description = "An ekg backend for Amazon Cloudwatch";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/emailaddress.nix.golden+5−8
@@ -1,15 +1,12 @@
1{ mkDerivation, aeson, base, bifunctors, bytestring, doctest
1{ mkDerivation, aeson, base, bifunctors, bytestring, doctest
2−, email-validate, fetchurl, Glob, http-api-data, opaleye
2+, email-validate, Glob, http-api-data, opaleye, path-pieces
3−, path-pieces, persistent, postgresql-simple, product-profunctors
3+, persistent, postgresql-simple, product-profunctors, profunctors
4−, profunctors, text
4+, stdenv, text
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "emailaddress";
7 pname = "emailaddress";
8 version = "0.2.0.0";
8 version = "0.2.0.0";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
14 aeson base bifunctors bytestring email-validate http-api-data
11 aeson base bifunctors bytestring email-validate http-api-data
15 opaleye path-pieces persistent postgresql-simple
12 opaleye path-pieces persistent postgresql-simple
@@ -19,4 +16,4 @@ mkDerivation {
19 homepage = "https://github.com/cdepillabout/emailaddress#readme";
16 homepage = "https://github.com/cdepillabout/emailaddress#readme";
20 description = "Wrapper around email-validate library adding instances for common type classes";
17 description = "Wrapper around email-validate library adding instances for common type classes";
21 license = stdenv.lib.licenses.bsd3;
18 license = stdenv.lib.licenses.bsd3;
22−}
19+}
test/golden-test-cases/envelope.nix.golden+4−7
@@ -1,16 +1,13 @@
1−{ mkDerivation, aeson, base, doctest, fetchurl, Glob, http-api-data
1+{ mkDerivation, aeson, base, doctest, Glob, http-api-data, mtl
2−, mtl, text
2+, stdenv, text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "envelope";
5 pname = "envelope";
6 version = "0.2.2.0";
6 version = "0.2.2.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ aeson base http-api-data mtl text ];
8 libraryHaskellDepends = [ aeson base http-api-data mtl text ];
12 testHaskellDepends = [ base doctest Glob ];
9 testHaskellDepends = [ base doctest Glob ];
13 homepage = "https://github.com/cdepillabout/envelope#readme";
10 homepage = "https://github.com/cdepillabout/envelope#readme";
14 description = "Defines generic 'Envelope' type to wrap reponses from a JSON API";
11 description = "Defines generic 'Envelope' type to wrap reponses from a JSON API";
15 license = stdenv.lib.licenses.bsd3;
12 license = stdenv.lib.licenses.bsd3;
16−}
13+}
test/golden-test-cases/eventful-sqlite.nix.golden+4−7
@@ -1,14 +1,11 @@
1{ mkDerivation, aeson, base, bytestring, eventful-core
1{ mkDerivation, aeson, base, bytestring, eventful-core
2−, eventful-sql-common, eventful-test-helpers, fetchurl, hspec
2+, eventful-sql-common, eventful-test-helpers, hspec, HUnit, mtl
3−, HUnit, mtl, persistent, persistent-sqlite, text, uuid
3+, persistent, persistent-sqlite, stdenv, text, uuid
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "eventful-sqlite";
6 pname = "eventful-sqlite";
7 version = "0.2.0";
7 version = "0.2.0";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 aeson base bytestring eventful-core eventful-sql-common mtl
10 aeson base bytestring eventful-core eventful-sql-common mtl
14 persistent text uuid
11 persistent text uuid
@@ -21,4 +18,4 @@ mkDerivation {
21 homepage = "https://github.com/jdreaver/eventful#readme";
18 homepage = "https://github.com/jdreaver/eventful#readme";
22 description = "SQLite implementations for eventful";
19 description = "SQLite implementations for eventful";
23 license = stdenv.lib.licenses.mit;
20 license = stdenv.lib.licenses.mit;
24−}
21+}
test/golden-test-cases/exact-pi.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, numtype-dk }:
1+{ mkDerivation, base, numtype-dk, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "exact-pi";
3 pname = "exact-pi";
4 version = "0.4.1.2";
4 version = "0.4.1.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base numtype-dk ];
6 libraryHaskellDepends = [ base numtype-dk ];
10 homepage = "https://github.com/dmcclean/exact-pi/";
7 homepage = "https://github.com/dmcclean/exact-pi/";
11 description = "Exact rational multiples of pi (and integer powers of pi)";
8 description = "Exact rational multiples of pi (and integer powers of pi)";
12 license = stdenv.lib.licenses.mit;
9 license = stdenv.lib.licenses.mit;
13−}
10+}
test/golden-test-cases/expiring-cache-map.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, containers, fetchurl, hashable
1+{ mkDerivation, base, bytestring, containers, hashable, stdenv
2, time, unordered-containers
2, time, unordered-containers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "expiring-cache-map";
5 pname = "expiring-cache-map";
6 version = "0.0.6.1";
6 version = "0.0.6.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base containers hashable unordered-containers
9 base containers hashable unordered-containers
13 ];
10 ];
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "https://github.com/elblake/expiring-cache-map";
14 homepage = "https://github.com/elblake/expiring-cache-map";
18 description = "General purpose simple caching";
15 description = "General purpose simple caching";
19 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
20−}
17+}
test/golden-test-cases/explicit-exception.nix.golden+3−6
@@ -1,15 +1,12 @@
1−{ mkDerivation, base, deepseq, fetchurl, transformers }:
1+{ mkDerivation, base, deepseq, stdenv, transformers }:
2mkDerivation {
2mkDerivation {
3 pname = "explicit-exception";
3 pname = "explicit-exception";
4 version = "0.1.9";
4 version = "0.1.9";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 isLibrary = true;
6 isLibrary = true;
10 isExecutable = true;
7 isExecutable = true;
11 libraryHaskellDepends = [ base deepseq transformers ];
8 libraryHaskellDepends = [ base deepseq transformers ];
12 homepage = "http://www.haskell.org/haskellwiki/Exception";
9 homepage = "http://www.haskell.org/haskellwiki/Exception";
13 description = "Exceptions which are explicit in the type signature";
10 description = "Exceptions which are explicit in the type signature";
14 license = stdenv.lib.licenses.bsd3;
11 license = stdenv.lib.licenses.bsd3;
15−}
12+}
test/golden-test-cases/fdo-notify.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, containers, dbus, fetchurl }:
1+{ mkDerivation, base, containers, dbus, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "fdo-notify";
3 pname = "fdo-notify";
4 version = "0.3.1";
4 version = "0.3.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base containers dbus ];
6 libraryHaskellDepends = [ base containers dbus ];
10 homepage = "http://bitbucket.org/taejo/fdo-notify/";
7 homepage = "http://bitbucket.org/taejo/fdo-notify/";
11 description = "Desktop Notifications client";
8 description = "Desktop Notifications client";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/fgl.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, array, base, containers, deepseq, fetchurl, hspec
1+{ mkDerivation, array, base, containers, deepseq, hspec, microbench
2−, microbench, QuickCheck, transformers
2+, QuickCheck, stdenv, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "fgl";
5 pname = "fgl";
6 version = "5.5.4.0";
6 version = "5.5.4.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 array base containers deepseq transformers
9 array base containers deepseq transformers
13 ];
10 ];
@@ -15,4 +12,4 @@ mkDerivation {
15 benchmarkHaskellDepends = [ base deepseq microbench ];
12 benchmarkHaskellDepends = [ base deepseq microbench ];
16 description = "Martin Erwig's Functional Graph Library";
13 description = "Martin Erwig's Functional Graph Library";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/file-modules.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, async, base, directory, fetchurl, filepath
1+{ mkDerivation, async, base, directory, filepath, haskell-src-exts
2−, haskell-src-exts, MissingH, regex-compat, regex-pcre
2+, MissingH, regex-compat, regex-pcre, stdenv
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "file-modules";
5 pname = "file-modules";
6 version = "0.1.2.4";
6 version = "0.1.2.4";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = true;
8 isLibrary = true;
12 isExecutable = true;
9 isExecutable = true;
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
@@ -21,4 +18,4 @@ mkDerivation {
21 homepage = "https://github.com/yamadapc/stack-run-auto";
18 homepage = "https://github.com/yamadapc/stack-run-auto";
22 description = "Takes a Haskell source-code file and outputs its modules";
19 description = "Takes a Haskell source-code file and outputs its modules";
23 license = stdenv.lib.licenses.mit;
20 license = stdenv.lib.licenses.mit;
24−}
21+}
test/golden-test-cases/fingertree.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, HUnit, QuickCheck, test-framework
1+{ mkDerivation, base, HUnit, QuickCheck, stdenv, test-framework
2, test-framework-hunit, test-framework-quickcheck2
2, test-framework-hunit, test-framework-quickcheck2
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "fingertree";
5 pname = "fingertree";
6 version = "0.1.3.1";
6 version = "0.1.3.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base ];
8 libraryHaskellDepends = [ base ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 base HUnit QuickCheck test-framework test-framework-hunit
10 base HUnit QuickCheck test-framework test-framework-hunit
@@ -15,4 +12,4 @@ mkDerivation {
15 ];
12 ];
16 description = "Generic finger-tree structure, with example instances";
13 description = "Generic finger-tree structure, with example instances";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/fixed-vector.nix.golden+4−7
@@ -1,15 +1,12 @@
1−{ mkDerivation, base, deepseq, doctest, fetchurl, filemanip
1+{ mkDerivation, base, deepseq, doctest, filemanip, primitive
2−, primitive
2+, stdenv
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "fixed-vector";
5 pname = "fixed-vector";
6 version = "1.0.0.0";
6 version = "1.0.0.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base deepseq primitive ];
8 libraryHaskellDepends = [ base deepseq primitive ];
12 testHaskellDepends = [ base doctest filemanip primitive ];
9 testHaskellDepends = [ base doctest filemanip primitive ];
13 description = "Generic vectors with statically known size";
10 description = "Generic vectors with statically known size";
14 license = stdenv.lib.licenses.bsd3;
11 license = stdenv.lib.licenses.bsd3;
15−}
12+}
test/golden-test-cases/fixed.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "fixed";
3 pname = "fixed";
4 version = "0.2.1.1";
4 version = "0.2.1.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 homepage = "http://github.com/ekmett/fixed";
7 homepage = "http://github.com/ekmett/fixed";
11 description = "Signed 15.16 precision fixed point arithmetic";
8 description = "Signed 15.16 precision fixed point arithmetic";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/foundation.nix.golden+3−6
@@ -1,15 +1,12 @@
1−{ mkDerivation, base, basement, fetchurl, gauge, ghc-prim }:
1+{ mkDerivation, base, basement, gauge, ghc-prim, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "foundation";
3 pname = "foundation";
4 version = "0.0.17";
4 version = "0.0.17";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base basement ghc-prim ];
6 libraryHaskellDepends = [ base basement ghc-prim ];
10 testHaskellDepends = [ base basement ];
7 testHaskellDepends = [ base basement ];
11 benchmarkHaskellDepends = [ base basement gauge ];
8 benchmarkHaskellDepends = [ base basement gauge ];
12 homepage = "https://github.com/haskell-foundation/foundation";
9 homepage = "https://github.com/haskell-foundation/foundation";
13 description = "Alternative prelude with batteries and no dependencies";
10 description = "Alternative prelude with batteries and no dependencies";
14 license = stdenv.lib.licenses.bsd3;
11 license = stdenv.lib.licenses.bsd3;
15−}
12+}
test/golden-test-cases/frisby.nix.golden+3−7
@@ -1,14 +1,10 @@
1−{ mkDerivation, array, base, containers, fetchurl, mtl, semigroups
1+{ mkDerivation, array, base, containers, mtl, semigroups, stdenv }:
2−}:
3mkDerivation {
2mkDerivation {
4 pname = "frisby";
3 pname = "frisby";
5 version = "0.2.2";
4 version = "0.2.2";
6− src = fetchurl {
7− url = "http://example.org/";
8− sha256 = "abc";
5+ sha256 = "deadbeef";
9− };
10 libraryHaskellDepends = [ array base containers mtl semigroups ];
6 libraryHaskellDepends = [ array base containers mtl semigroups ];
11 homepage = "http://repetae.net/computer/frisby/";
7 homepage = "http://repetae.net/computer/frisby/";
12 description = "Linear time composable parser for PEG grammars";
8 description = "Linear time composable parser for PEG grammars";
13 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
14−}
10+}
test/golden-test-cases/funcmp.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, fetchurl, filepath, process }:
1+{ mkDerivation, base, filepath, process, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "funcmp";
3 pname = "funcmp";
4 version = "1.8";
4 version = "1.8";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 enableSeparateDataOutput = true;
6 enableSeparateDataOutput = true;
10 libraryHaskellDepends = [ base filepath process ];
7 libraryHaskellDepends = [ base filepath process ];
11 homepage = "http://savannah.nongnu.org/projects/funcmp/";
8 homepage = "http://savannah.nongnu.org/projects/funcmp/";
12 description = "Functional MetaPost";
9 description = "Functional MetaPost";
13 license = stdenv.lib.licenses.gpl3;
10 license = stdenv.lib.licenses.gpl3;
14−}
11+}
test/golden-test-cases/functor-classes-compat.nix.golden+3−6
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, containers, fetchurl, hashable
1+{ mkDerivation, base, containers, hashable, stdenv
2, unordered-containers, vector
2, unordered-containers, vector
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "functor-classes-compat";
5 pname = "functor-classes-compat";
6 version = "1";
6 version = "1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base containers hashable unordered-containers vector
9 base containers hashable unordered-containers vector
13 ];
10 ];
14 homepage = "https://github.com/phadej/functor-classes-compat#readme";
11 homepage = "https://github.com/phadej/functor-classes-compat#readme";
15 description = "Data.Functor.Classes instances for core packages";
12 description = "Data.Functor.Classes instances for core packages";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/general-games.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, hspec, HUnit, monad-loops
1+{ mkDerivation, base, hspec, HUnit, monad-loops, MonadRandom
2−, MonadRandom, random, random-shuffle
2+, random, random-shuffle, stdenv
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "general-games";
5 pname = "general-games";
6 version = "1.0.5";
6 version = "1.0.5";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base monad-loops MonadRandom random random-shuffle
9 base monad-loops MonadRandom random random-shuffle
13 ];
10 ];
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/cgorski/general-games";
12 homepage = "https://github.com/cgorski/general-games";
16 description = "Library supporting simulation of a number of games";
13 description = "Library supporting simulation of a number of games";
17 license = stdenv.lib.licenses.mit;
14 license = stdenv.lib.licenses.mit;
18−}
15+}
test/golden-test-cases/generic-lens.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, criterion, deepseq, doctest, fetchurl
1+{ mkDerivation, base, criterion, deepseq, doctest
2−, inspection-testing, lens, profunctors, QuickCheck, tagged
2+, inspection-testing, lens, profunctors, QuickCheck, stdenv, tagged
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "generic-lens";
5 pname = "generic-lens";
6 version = "0.5.1.0";
6 version = "0.5.1.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base profunctors tagged ];
8 libraryHaskellDepends = [ base profunctors tagged ];
12 testHaskellDepends = [ base doctest inspection-testing lens ];
9 testHaskellDepends = [ base doctest inspection-testing lens ];
13 benchmarkHaskellDepends = [
10 benchmarkHaskellDepends = [
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/kcsongor/generic-lens";
13 homepage = "https://github.com/kcsongor/generic-lens";
17 description = "Generic data-structure operations exposed as lenses";
14 description = "Generic data-structure operations exposed as lenses";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/genvalidity-aeson.nix.golden+5−8
@@ -1,15 +1,12 @@
1−{ mkDerivation, aeson, base, fetchurl, genvalidity
1+{ mkDerivation, aeson, base, genvalidity, genvalidity-hspec
2−, genvalidity-hspec, genvalidity-scientific, genvalidity-text
2+, genvalidity-scientific, genvalidity-text
3, genvalidity-unordered-containers, genvalidity-vector, hspec
3, genvalidity-unordered-containers, genvalidity-vector, hspec
4−, QuickCheck, validity, validity-aeson
4+, QuickCheck, stdenv, validity, validity-aeson
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "genvalidity-aeson";
7 pname = "genvalidity-aeson";
8 version = "0.1.0.0";
8 version = "0.1.0.0";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
14 aeson base genvalidity genvalidity-scientific genvalidity-text
11 aeson base genvalidity genvalidity-scientific genvalidity-text
15 genvalidity-unordered-containers genvalidity-vector QuickCheck
12 genvalidity-unordered-containers genvalidity-vector QuickCheck
@@ -21,4 +18,4 @@ mkDerivation {
21 homepage = "https://github.com/NorfairKing/validity#readme";
18 homepage = "https://github.com/NorfairKing/validity#readme";
22 description = "GenValidity support for aeson";
19 description = "GenValidity support for aeson";
23 license = stdenv.lib.licenses.mit;
20 license = stdenv.lib.licenses.mit;
24−}
21+}
test/golden-test-cases/genvalidity-hspec-aeson.nix.golden+4−7
@@ -1,14 +1,11 @@
1−{ mkDerivation, aeson, base, bytestring, deepseq, doctest, fetchurl
1+{ mkDerivation, aeson, base, bytestring, deepseq, doctest
2, genvalidity, genvalidity-aeson, genvalidity-hspec
2, genvalidity, genvalidity-aeson, genvalidity-hspec
3−, genvalidity-text, hspec, QuickCheck, text
3+, genvalidity-text, hspec, QuickCheck, stdenv, text
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "genvalidity-hspec-aeson";
6 pname = "genvalidity-hspec-aeson";
7 version = "0.1.0.1";
7 version = "0.1.0.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 aeson base bytestring deepseq genvalidity genvalidity-hspec hspec
10 aeson base bytestring deepseq genvalidity genvalidity-hspec hspec
14 QuickCheck
11 QuickCheck
@@ -20,4 +17,4 @@ mkDerivation {
20 homepage = "http://cs-syd.eu";
17 homepage = "http://cs-syd.eu";
21 description = "Standard spec's for aeson-related instances";
18 description = "Standard spec's for aeson-related instances";
22 license = stdenv.lib.licenses.mit;
19 license = stdenv.lib.licenses.mit;
23−}
20+}
test/golden-test-cases/genvalidity-hspec-binary.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, binary, deepseq, doctest, fetchurl
1+{ mkDerivation, base, binary, deepseq, doctest, genvalidity
2−, genvalidity, genvalidity-hspec, hspec, QuickCheck
2+, genvalidity-hspec, hspec, QuickCheck, stdenv
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "genvalidity-hspec-binary";
5 pname = "genvalidity-hspec-binary";
6 version = "0.1.0.0";
6 version = "0.1.0.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base binary deepseq genvalidity genvalidity-hspec hspec QuickCheck
9 base binary deepseq genvalidity genvalidity-hspec hspec QuickCheck
13 ];
10 ];
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/NorfairKing/validity#readme";
12 homepage = "https://github.com/NorfairKing/validity#readme";
16 description = "Standard spec's for binary-related Instances";
13 description = "Standard spec's for binary-related Instances";
17 license = stdenv.lib.licenses.mit;
14 license = stdenv.lib.licenses.mit;
18−}
15+}
test/golden-test-cases/genvalidity-scientific.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, genvalidity, genvalidity-hspec
1+{ mkDerivation, base, genvalidity, genvalidity-hspec, hspec
2−, hspec, QuickCheck, scientific, validity, validity-scientific
2+, QuickCheck, scientific, stdenv, validity, validity-scientific
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "genvalidity-scientific";
5 pname = "genvalidity-scientific";
6 version = "0.1.0.0";
6 version = "0.1.0.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base genvalidity QuickCheck scientific validity validity-scientific
9 base genvalidity QuickCheck scientific validity validity-scientific
13 ];
10 ];
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "https://github.com/NorfairKing/validity#readme";
14 homepage = "https://github.com/NorfairKing/validity#readme";
18 description = "GenValidity support for Scientific";
15 description = "GenValidity support for Scientific";
19 license = stdenv.lib.licenses.mit;
16 license = stdenv.lib.licenses.mit;
20−}
17+}
test/golden-test-cases/genvalidity-uuid.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, genvalidity, genvalidity-hspec
1+{ mkDerivation, base, genvalidity, genvalidity-hspec, hspec
2−, hspec, QuickCheck, uuid, validity, validity-uuid
2+, QuickCheck, stdenv, uuid, validity, validity-uuid
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "genvalidity-uuid";
5 pname = "genvalidity-uuid";
6 version = "0.0.0.0";
6 version = "0.0.0.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base genvalidity QuickCheck uuid validity validity-uuid
9 base genvalidity QuickCheck uuid validity validity-uuid
13 ];
10 ];
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "https://github.com/NorfairKing/validity#readme";
14 homepage = "https://github.com/NorfairKing/validity#readme";
18 description = "GenValidity support for UUID";
15 description = "GenValidity support for UUID";
19 license = stdenv.lib.licenses.mit;
16 license = stdenv.lib.licenses.mit;
20−}
17+}
test/golden-test-cases/ghc-syb-utils.nix.golden+3−6
@@ -1,16 +1,13 @@
1−{ mkDerivation, base, directory, fetchurl, filepath, ghc, ghc-paths
1+{ mkDerivation, base, directory, filepath, ghc, ghc-paths, stdenv
2, syb
2, syb
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "ghc-syb-utils";
5 pname = "ghc-syb-utils";
6 version = "0.2.3.3";
6 version = "0.2.3.3";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base ghc syb ];
8 libraryHaskellDepends = [ base ghc syb ];
12 testHaskellDepends = [ base directory filepath ghc ghc-paths ];
9 testHaskellDepends = [ base directory filepath ghc ghc-paths ];
13 homepage = "http://github.com/nominolo/ghc-syb";
10 homepage = "http://github.com/nominolo/ghc-syb";
14 description = "Scrap Your Boilerplate utilities for the GHC API";
11 description = "Scrap Your Boilerplate utilities for the GHC API";
15 license = stdenv.lib.licenses.bsd3;
12 license = stdenv.lib.licenses.bsd3;
16−}
13+}
test/golden-test-cases/ghcid.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, ansi-terminal, base, cmdargs, containers, directory
1{ mkDerivation, ansi-terminal, base, cmdargs, containers, directory
2−, extra, fetchurl, filepath, fsnotify, process, tasty, tasty-hunit
2+, extra, filepath, fsnotify, process, stdenv, tasty, tasty-hunit
3, terminal-size, time, unix
3, terminal-size, time, unix
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "ghcid";
6 pname = "ghcid";
7 version = "0.6.8";
7 version = "0.6.8";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 isLibrary = true;
9 isLibrary = true;
13 isExecutable = true;
10 isExecutable = true;
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
@@ -25,4 +22,4 @@ mkDerivation {
25 homepage = "https://github.com/ndmitchell/ghcid#readme";
22 homepage = "https://github.com/ndmitchell/ghcid#readme";
26 description = "GHCi based bare bones IDE";
23 description = "GHCi based bare bones IDE";
27 license = stdenv.lib.licenses.bsd3;
24 license = stdenv.lib.licenses.bsd3;
28−}
25+}
test/golden-test-cases/giphy-api.nix.golden+5−8
@@ -1,15 +1,12 @@
1{ mkDerivation, aeson, base, basic-prelude, bytestring, containers
1{ mkDerivation, aeson, base, basic-prelude, bytestring, containers
2−, directory, fetchurl, hspec, http-api-data, http-client
2+, directory, hspec, http-api-data, http-client, http-client-tls
3−, http-client-tls, lens, microlens, microlens-th, mtl, network-uri
3+, lens, microlens, microlens-th, mtl, network-uri, servant
4−, servant, servant-client, text, transformers
4+, servant-client, stdenv, text, transformers
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "giphy-api";
7 pname = "giphy-api";
8 version = "0.5.2.0";
8 version = "0.5.2.0";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 isLibrary = true;
10 isLibrary = true;
14 isExecutable = true;
11 isExecutable = true;
15 libraryHaskellDepends = [
12 libraryHaskellDepends = [
@@ -24,4 +21,4 @@ mkDerivation {
24 homepage = "http://github.com/passy/giphy-api#readme";
21 homepage = "http://github.com/passy/giphy-api#readme";
25 description = "Giphy HTTP API wrapper and CLI search tool";
22 description = "Giphy HTTP API wrapper and CLI search tool";
26 license = stdenv.lib.licenses.bsd3;
23 license = stdenv.lib.licenses.bsd3;
27−}
24+}
test/golden-test-cases/github.nix.golden+6−9
@@ -1,19 +1,16 @@
1{ mkDerivation, aeson, aeson-compat, base, base-compat
1{ mkDerivation, aeson, aeson-compat, base, base-compat
2, base16-bytestring, binary, binary-orphans, byteable, bytestring
2, base16-bytestring, binary, binary-orphans, byteable, bytestring
3, containers, cryptohash, deepseq, deepseq-generics, exceptions
3, containers, cryptohash, deepseq, deepseq-generics, exceptions
4−, fetchurl, file-embed, hashable, hspec, hspec-discover
4+, file-embed, hashable, hspec, hspec-discover, http-client
5−, http-client, http-client-tls, http-link-header, http-types
5+, http-client-tls, http-link-header, http-types, iso8601-time, mtl
6−, iso8601-time, mtl, network-uri, semigroups, text, time, tls
6+, network-uri, semigroups, stdenv, text, time, tls, transformers
7−, transformers, transformers-compat, unordered-containers, vector
7+, transformers-compat, unordered-containers, vector
8, vector-instances
8, vector-instances
9}:
9}:
10mkDerivation {
10mkDerivation {
11 pname = "github";
11 pname = "github";
12 version = "0.18";
12 version = "0.18";
13− src = fetchurl {
14− url = "http://example.org/";
15− sha256 = "abc";
13+ sha256 = "deadbeef";
16− };
17 libraryHaskellDepends = [
14 libraryHaskellDepends = [
18 aeson aeson-compat base base-compat base16-bytestring binary
15 aeson aeson-compat base base-compat base16-bytestring binary
19 binary-orphans byteable bytestring containers cryptohash deepseq
16 binary-orphans byteable bytestring containers cryptohash deepseq
@@ -30,4 +27,4 @@ mkDerivation {
30 homepage = "https://github.com/phadej/github";
27 homepage = "https://github.com/phadej/github";
31 description = "Access to the GitHub API, v3";
28 description = "Access to the GitHub API, v3";
32 license = stdenv.lib.licenses.bsd3;
29 license = stdenv.lib.licenses.bsd3;
33−}
30+}
test/golden-test-cases/gl.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, Cabal, containers, directory, fetchurl
1+{ mkDerivation, base, Cabal, containers, directory, filepath, fixed
2−, filepath, fixed, half, hxt, libGL, transformers
2+, half, hxt, libGL, stdenv, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "gl";
5 pname = "gl";
6 version = "0.8.0";
6 version = "0.8.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 setupHaskellDepends = [
8 setupHaskellDepends = [
12 base Cabal containers directory filepath hxt transformers
9 base Cabal containers directory filepath hxt transformers
13 ];
10 ];
@@ -17,4 +14,4 @@ mkDerivation {
17 librarySystemDepends = [ libGL ];
14 librarySystemDepends = [ libGL ];
18 description = "Complete OpenGL raw bindings";
15 description = "Complete OpenGL raw bindings";
19 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
20−}
17+}
test/golden-test-cases/gogol-adexchange-buyer.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-adexchange-buyer";
3 pname = "gogol-adexchange-buyer";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google Ad Exchange Buyer SDK";
8 description = "Google Ad Exchange Buyer SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-admin-emailmigration.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-admin-emailmigration";
3 pname = "gogol-admin-emailmigration";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google Email Migration API v2 SDK";
8 description = "Google Email Migration API v2 SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-affiliates.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-affiliates";
3 pname = "gogol-affiliates";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google Affiliate Network SDK";
8 description = "Google Affiliate Network SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-apps-tasks.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-apps-tasks";
3 pname = "gogol-apps-tasks";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google Tasks SDK";
8 description = "Google Tasks SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-appstate.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-appstate";
3 pname = "gogol-appstate";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google App State SDK";
8 description = "Google App State SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-blogger.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-blogger";
3 pname = "gogol-blogger";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google Blogger SDK";
8 description = "Google Blogger SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-datastore.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-datastore";
3 pname = "gogol-datastore";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google Cloud Datastore SDK";
8 description = "Google Cloud Datastore SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-dfareporting.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-dfareporting";
3 pname = "gogol-dfareporting";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google DCM/DFA Reporting And Trafficking SDK";
8 description = "Google DCM/DFA Reporting And Trafficking SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-firebase-rules.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-firebase-rules";
3 pname = "gogol-firebase-rules";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google Firebase Rules SDK";
8 description = "Google Firebase Rules SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-gmail.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-gmail";
3 pname = "gogol-gmail";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google Gmail SDK";
8 description = "Google Gmail SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-kgsearch.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-kgsearch";
3 pname = "gogol-kgsearch";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google Knowledge Graph Search SDK";
8 description = "Google Knowledge Graph Search SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-maps-engine.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-maps-engine";
3 pname = "gogol-maps-engine";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google Maps Engine SDK";
8 description = "Google Maps Engine SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-plus.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-plus";
3 pname = "gogol-plus";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google + SDK";
8 description = "Google + SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-resourceviews.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-resourceviews";
3 pname = "gogol-resourceviews";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google Compute Engine Instance Groups SDK";
8 description = "Google Compute Engine Instance Groups SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-translate.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-translate";
3 pname = "gogol-translate";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google Translate SDK";
8 description = "Google Translate SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-webmaster-tools.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-webmaster-tools";
3 pname = "gogol-webmaster-tools";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google Search Console SDK";
8 description = "Google Search Console SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/gogol-youtube.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, gogol-core }:
1+{ mkDerivation, base, gogol-core, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "gogol-youtube";
3 pname = "gogol-youtube";
4 version = "0.3.0";
4 version = "0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base gogol-core ];
6 libraryHaskellDepends = [ base gogol-core ];
10 homepage = "https://github.com/brendanhay/gogol";
7 homepage = "https://github.com/brendanhay/gogol";
11 description = "Google YouTube Data SDK";
8 description = "Google YouTube Data SDK";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/groundhog-mysql.nix.golden+4−7
@@ -1,18 +1,15 @@
1−{ mkDerivation, base, bytestring, containers, fetchurl, groundhog
1+{ mkDerivation, base, bytestring, containers, groundhog
2, monad-control, monad-logger, mysql, mysql-simple, resource-pool
2, monad-control, monad-logger, mysql, mysql-simple, resource-pool
3−, resourcet, text, time, transformers
3+, resourcet, stdenv, text, time, transformers
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "groundhog-mysql";
6 pname = "groundhog-mysql";
7 version = "0.8";
7 version = "0.8";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 base bytestring containers groundhog monad-control monad-logger
10 base bytestring containers groundhog monad-control monad-logger
14 mysql mysql-simple resource-pool resourcet text time transformers
11 mysql mysql-simple resource-pool resourcet text time transformers
15 ];
12 ];
16 description = "MySQL backend for the groundhog library";
13 description = "MySQL backend for the groundhog library";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/gsasl.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, bytestring, fetchurl, gsasl, transformers }:
1+{ mkDerivation, base, bytestring, gsasl, stdenv, transformers }:
2mkDerivation {
2mkDerivation {
3 pname = "gsasl";
3 pname = "gsasl";
4 version = "0.3.6";
4 version = "0.3.6";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base bytestring transformers ];
6 libraryHaskellDepends = [ base bytestring transformers ];
10 libraryPkgconfigDepends = [ gsasl ];
7 libraryPkgconfigDepends = [ gsasl ];
11 homepage = "https://john-millikin.com/software/haskell-gsasl/";
8 homepage = "https://john-millikin.com/software/haskell-gsasl/";
12 description = "Bindings for GNU libgsasl";
9 description = "Bindings for GNU libgsasl";
13 license = stdenv.lib.licenses.gpl3;
10 license = stdenv.lib.licenses.gpl3;
14−}
11+}
test/golden-test-cases/hOpenPGP.nix.golden+4−7
@@ -2,20 +2,17 @@
2, base64-bytestring, bifunctors, binary, binary-conduit, byteable
2, base64-bytestring, bifunctors, binary, binary-conduit, byteable
3, bytestring, bzlib, conduit, conduit-extra, containers, criterion
3, bytestring, bzlib, conduit, conduit-extra, containers, criterion
4, crypto-cipher-types, cryptonite, data-default-class, errors
4, crypto-cipher-types, cryptonite, data-default-class, errors
5−, fetchurl, hashable, incremental-parser, ixset-typed, lens, memory
5+, hashable, incremental-parser, ixset-typed, lens, memory
6, monad-loops, nettle, network, network-uri, newtype
6, monad-loops, nettle, network, network-uri, newtype
7, openpgp-asciiarmor, QuickCheck, quickcheck-instances, resourcet
7, openpgp-asciiarmor, QuickCheck, quickcheck-instances, resourcet
8−, securemem, semigroups, split, tasty, tasty-hunit
8+, securemem, semigroups, split, stdenv, tasty, tasty-hunit
9, tasty-quickcheck, text, time, time-locale-compat, transformers
9, tasty-quickcheck, text, time, time-locale-compat, transformers
10, unordered-containers, wl-pprint-extras, zlib
10, unordered-containers, wl-pprint-extras, zlib
11}:
11}:
12mkDerivation {
12mkDerivation {
13 pname = "hOpenPGP";
13 pname = "hOpenPGP";
14 version = "2.5.5";
14 version = "2.5.5";
15− src = fetchurl {
16− url = "http://example.org/";
17− sha256 = "abc";
15+ sha256 = "deadbeef";
18− };
19 libraryHaskellDepends = [
16 libraryHaskellDepends = [
20 aeson attoparsec base base16-bytestring base64-bytestring
17 aeson attoparsec base base16-bytestring base64-bytestring
21 bifunctors binary binary-conduit byteable bytestring bzlib conduit
18 bifunctors binary binary-conduit byteable bytestring bzlib conduit
@@ -49,4 +46,4 @@ mkDerivation {
49 homepage = "http://floss.scru.org/hOpenPGP/";
46 homepage = "http://floss.scru.org/hOpenPGP/";
50 description = "native Haskell implementation of OpenPGP (RFC4880)";
47 description = "native Haskell implementation of OpenPGP (RFC4880)";
51 license = stdenv.lib.licenses.mit;
48 license = stdenv.lib.licenses.mit;
52−}
49+}
test/golden-test-cases/hPDB-examples.nix.golden+4−7
@@ -1,15 +1,12 @@
1{ mkDerivation, AC-Vector, base, bytestring, containers, deepseq
1{ mkDerivation, AC-Vector, base, bytestring, containers, deepseq
2−, directory, fetchurl, ghc-prim, GLUT, hPDB, IfElse, iterable, mtl
2+, directory, ghc-prim, GLUT, hPDB, IfElse, iterable, mtl, Octree
3−, Octree, OpenGL, process, QuickCheck, template-haskell, text
3+, OpenGL, process, QuickCheck, stdenv, template-haskell, text
4, text-format, time, vector
4, text-format, time, vector
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "hPDB-examples";
7 pname = "hPDB-examples";
8 version = "1.2.0.8";
8 version = "1.2.0.8";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 isLibrary = false;
10 isLibrary = false;
14 isExecutable = true;
11 isExecutable = true;
15 executableHaskellDepends = [
12 executableHaskellDepends = [
@@ -24,4 +21,4 @@ mkDerivation {
24 homepage = "https://github.com/BioHaskell/hPDB-examples";
21 homepage = "https://github.com/BioHaskell/hPDB-examples";
25 description = "Examples for hPDB library";
22 description = "Examples for hPDB library";
26 license = stdenv.lib.licenses.bsd3;
23 license = stdenv.lib.licenses.bsd3;
27−}
24+}
test/golden-test-cases/haddock-library.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, base-compat, bytestring, deepseq, fetchurl
1+{ mkDerivation, base, base-compat, bytestring, deepseq, hspec
2−, hspec, hspec-discover, QuickCheck, transformers
2+, hspec-discover, QuickCheck, stdenv, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "haddock-library";
5 pname = "haddock-library";
6 version = "1.4.5";
6 version = "1.4.5";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base bytestring deepseq transformers ];
8 libraryHaskellDepends = [ base bytestring deepseq transformers ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 base base-compat bytestring deepseq hspec QuickCheck transformers
10 base base-compat bytestring deepseq hspec QuickCheck transformers
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "http://www.haskell.org/haddock/";
14 homepage = "http://www.haskell.org/haddock/";
18 description = "Library exposing some functionality of Haddock";
15 description = "Library exposing some functionality of Haddock";
19 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
20−}
17+}
test/golden-test-cases/hakyll.nix.golden+6−9
@@ -1,20 +1,17 @@
1{ mkDerivation, base, binary, blaze-html, blaze-markup, bytestring
1{ mkDerivation, base, binary, blaze-html, blaze-markup, bytestring
2, containers, cryptohash, data-default, deepseq, directory
2, containers, cryptohash, data-default, deepseq, directory
3−, fetchurl, filepath, fsnotify, http-conduit, http-types, lrucache
3+, filepath, fsnotify, http-conduit, http-types, lrucache, mtl
4−, mtl, network, network-uri, optparse-applicative, pandoc
4+, network, network-uri, optparse-applicative, pandoc
5, pandoc-citeproc, parsec, process, QuickCheck, random, regex-base
5, pandoc-citeproc, parsec, process, QuickCheck, random, regex-base
6−, regex-tdfa, resourcet, scientific, system-filepath, tagsoup
6+, regex-tdfa, resourcet, scientific, stdenv, system-filepath
7−, tasty, tasty-hunit, tasty-quickcheck, text, time
7+, tagsoup, tasty, tasty-hunit, tasty-quickcheck, text, time
8, time-locale-compat, unordered-containers, utillinux, vector, wai
8, time-locale-compat, unordered-containers, utillinux, vector, wai
9, wai-app-static, warp, yaml
9, wai-app-static, warp, yaml
10}:
10}:
11mkDerivation {
11mkDerivation {
12 pname = "hakyll";
12 pname = "hakyll";
13 version = "4.10.0.0";
13 version = "4.10.0.0";
14− src = fetchurl {
15− url = "http://example.org/";
16− sha256 = "abc";
14+ sha256 = "deadbeef";
17− };
18 isLibrary = true;
15 isLibrary = true;
19 isExecutable = true;
16 isExecutable = true;
20 enableSeparateDataOutput = true;
17 enableSeparateDataOutput = true;
@@ -42,4 +39,4 @@ mkDerivation {
42 homepage = "http://jaspervdj.be/hakyll";
39 homepage = "http://jaspervdj.be/hakyll";
43 description = "A static website compiler library";
40 description = "A static website compiler library";
44 license = stdenv.lib.licenses.bsd3;
41 license = stdenv.lib.licenses.bsd3;
45−}
42+}
test/golden-test-cases/happstack-hsp.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, fetchurl, happstack-server, harp
1+{ mkDerivation, base, bytestring, happstack-server, harp, hsp
2−, hsp, hsx2hs, mtl, syb, text, utf8-string
2+, hsx2hs, mtl, stdenv, syb, text, utf8-string
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "happstack-hsp";
5 pname = "happstack-hsp";
6 version = "7.3.7.3";
6 version = "7.3.7.3";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base bytestring happstack-server harp hsp hsx2hs mtl syb text
9 base bytestring happstack-server harp hsp hsx2hs mtl syb text
13 utf8-string
10 utf8-string
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "http://www.happstack.com/";
12 homepage = "http://www.happstack.com/";
16 description = "Support for using HSP templates in Happstack";
13 description = "Support for using HSP templates in Happstack";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/happy.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, array, base, Cabal, containers, directory, fetchurl
1+{ mkDerivation, array, base, Cabal, containers, directory, filepath
2−, filepath, mtl, process
2+, mtl, process, stdenv
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "happy";
5 pname = "happy";
6 version = "1.19.8";
6 version = "1.19.8";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = false;
8 isLibrary = false;
12 isExecutable = true;
9 isExecutable = true;
13 setupHaskellDepends = [ base Cabal directory filepath ];
10 setupHaskellDepends = [ base Cabal directory filepath ];
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://www.haskell.org/happy/";
13 homepage = "https://www.haskell.org/happy/";
17 description = "Happy is a parser generator for Haskell";
14 description = "Happy is a parser generator for Haskell";
18 license = stdenv.lib.licenses.bsd2;
15 license = stdenv.lib.licenses.bsd2;
19−}
16+}
test/golden-test-cases/harp.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "harp";
3 pname = "harp";
4 version = "0.4.3";
4 version = "0.4.3";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 homepage = "https://github.com/seereason/harp";
7 homepage = "https://github.com/seereason/harp";
11 description = "HaRP allows pattern-matching with regular expressions";
8 description = "HaRP allows pattern-matching with regular expressions";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/hashtables.nix.golden+3−7
@@ -1,17 +1,13 @@
1−{ mkDerivation, base, fetchurl, ghc-prim, hashable, primitive
1+{ mkDerivation, base, ghc-prim, hashable, primitive, stdenv, vector
2−, vector
3}:
2}:
4mkDerivation {
3mkDerivation {
5 pname = "hashtables";
4 pname = "hashtables";
6 version = "1.2.2.1";
5 version = "1.2.2.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
6+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
7 libraryHaskellDepends = [
12 base ghc-prim hashable primitive vector
8 base ghc-prim hashable primitive vector
13 ];
9 ];
14 homepage = "http://github.com/gregorycollins/hashtables";
10 homepage = "http://github.com/gregorycollins/hashtables";
15 description = "Mutable hash tables in the ST monad";
11 description = "Mutable hash tables in the ST monad";
16 license = stdenv.lib.licenses.bsd3;
12 license = stdenv.lib.licenses.bsd3;
17−}
13+}
test/golden-test-cases/haskell-tools-debug.nix.golden+6−9
@@ -1,15 +1,12 @@
1−{ mkDerivation, base, fetchurl, filepath, ghc, ghc-paths
1+{ mkDerivation, base, filepath, ghc, ghc-paths, haskell-tools-ast
2−, haskell-tools-ast, haskell-tools-backend-ghc
3−, haskell-tools-builtin-refactorings, haskell-tools-prettyprint
2+, haskell-tools-backend-ghc, haskell-tools-builtin-refactorings
4−, haskell-tools-refactor, references, split, template-haskell
3+, haskell-tools-prettyprint, haskell-tools-refactor, references
4+, split, stdenv, template-haskell
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "haskell-tools-debug";
7 pname = "haskell-tools-debug";
8 version = "1.0.0.3";
8 version = "1.0.0.3";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 isLibrary = true;
10 isLibrary = true;
14 isExecutable = true;
11 isExecutable = true;
15 libraryHaskellDepends = [
12 libraryHaskellDepends = [
@@ -22,4 +19,4 @@ mkDerivation {
22 homepage = "https://github.com/haskell-tools/haskell-tools";
19 homepage = "https://github.com/haskell-tools/haskell-tools";
23 description = "Debugging Tools for Haskell-tools";
20 description = "Debugging Tools for Haskell-tools";
24 license = stdenv.lib.licenses.bsd3;
21 license = stdenv.lib.licenses.bsd3;
25−}
22+}
test/golden-test-cases/haskell-tools-rewrite.nix.golden+5−8
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, containers, directory, fetchurl, filepath
1+{ mkDerivation, base, containers, directory, filepath, ghc
2−, ghc, haskell-tools-ast, haskell-tools-prettyprint, mtl
2+, haskell-tools-ast, haskell-tools-prettyprint, mtl, references
3−, references, tasty, tasty-hunit
3+, stdenv, tasty, tasty-hunit
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "haskell-tools-rewrite";
6 pname = "haskell-tools-rewrite";
7 version = "1.0.0.3";
7 version = "1.0.0.3";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 base containers ghc haskell-tools-ast haskell-tools-prettyprint mtl
10 base containers ghc haskell-tools-ast haskell-tools-prettyprint mtl
14 references
11 references
@@ -20,4 +17,4 @@ mkDerivation {
20 homepage = "https://github.com/haskell-tools/haskell-tools";
17 homepage = "https://github.com/haskell-tools/haskell-tools";
21 description = "Facilities for generating new parts of the Haskell-Tools AST";
18 description = "Facilities for generating new parts of the Haskell-Tools AST";
22 license = stdenv.lib.licenses.bsd3;
19 license = stdenv.lib.licenses.bsd3;
23−}
20+}
test/golden-test-cases/hasql.nix.golden+7−10
@@ -1,18 +1,15 @@
1{ mkDerivation, attoparsec, base, base-prelude, bug, bytestring
1{ mkDerivation, attoparsec, base, base-prelude, bug, bytestring
2, bytestring-strict-builder, contravariant, contravariant-extras
2, bytestring-strict-builder, contravariant, contravariant-extras
3−, criterion, data-default-class, dlist, fetchurl, hashable
3+, criterion, data-default-class, dlist, hashable, hashtables
4−, hashtables, loch-th, mtl, placeholders, postgresql-binary
4+, loch-th, mtl, placeholders, postgresql-binary, postgresql-libpq
5−, postgresql-libpq, profunctors, QuickCheck, quickcheck-instances
5+, profunctors, QuickCheck, quickcheck-instances, rebase, rerebase
6−, rebase, rerebase, semigroups, tasty, tasty-hunit
6+, semigroups, stdenv, tasty, tasty-hunit, tasty-quickcheck, text
7−, tasty-quickcheck, text, transformers, vector
7+, transformers, vector
8}:
8}:
9mkDerivation {
9mkDerivation {
10 pname = "hasql";
10 pname = "hasql";
11 version = "1.1.1";
11 version = "1.1.1";
12− src = fetchurl {
13− url = "http://example.org/";
14− sha256 = "abc";
12+ sha256 = "deadbeef";
15− };
16 libraryHaskellDepends = [
13 libraryHaskellDepends = [
17 attoparsec base base-prelude bytestring bytestring-strict-builder
14 attoparsec base base-prelude bytestring bytestring-strict-builder
18 contravariant contravariant-extras data-default-class dlist
15 contravariant contravariant-extras data-default-class dlist
@@ -27,4 +24,4 @@ mkDerivation {
27 homepage = "https://github.com/nikita-volkov/hasql";
24 homepage = "https://github.com/nikita-volkov/hasql";
28 description = "An efficient PostgreSQL driver and a flexible mapping API";
25 description = "An efficient PostgreSQL driver and a flexible mapping API";
29 license = stdenv.lib.licenses.mit;
26 license = stdenv.lib.licenses.mit;
30−}
27+}
test/golden-test-cases/hformat.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, ansi-terminal, base, base-unicode-symbols, fetchurl
1+{ mkDerivation, ansi-terminal, base, base-unicode-symbols, hspec
2−, hspec, text
2+, stdenv, text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "hformat";
5 pname = "hformat";
6 version = "0.3.1.0";
6 version = "0.3.1.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 ansi-terminal base base-unicode-symbols text
9 ansi-terminal base base-unicode-symbols text
13 ];
10 ];
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "http://github.com/mvoidex/hformat";
12 homepage = "http://github.com/mvoidex/hformat";
16 description = "Simple Haskell formatting";
13 description = "Simple Haskell formatting";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/highlighting-kate.nix.golden+6−8
@@ -1,18 +1,16 @@
1−{ mkDerivation, base, blaze-html, containers, Diff, directory
1+{ mkDerivation, base, blaze-html, bytestring, containers, Diff
2−, fetchurl, filepath, mtl, parsec, process, regex-pcre-builtin
2+, directory, filepath, mtl, parsec, pcre-light, process, stdenv
3, utf8-string
3, utf8-string
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "highlighting-kate";
6 pname = "highlighting-kate";
7 version = "0.6.4";
7 version = "0.6.4";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
9+ configureFlags = [ "-fpcre-light" ];
12 isLibrary = true;
10 isLibrary = true;
13 isExecutable = true;
11 isExecutable = true;
14 libraryHaskellDepends = [
12 libraryHaskellDepends = [
15− base blaze-html containers mtl parsec regex-pcre-builtin
13+ base blaze-html bytestring containers mtl parsec pcre-light
16 utf8-string
14 utf8-string
17 ];
15 ];
18 testHaskellDepends = [
16 testHaskellDepends = [
@@ -21,4 +19,4 @@ mkDerivation {
21 homepage = "http://github.com/jgm/highlighting-kate";
19 homepage = "http://github.com/jgm/highlighting-kate";
22 description = "Syntax highlighting";
20 description = "Syntax highlighting";
23 license = "GPL";
21 license = "GPL";
24−}
22+}
test/golden-test-cases/hit.nix.golden+5−9
@@ -1,16 +1,12 @@
1{ mkDerivation, attoparsec, base, byteable, bytedump, bytestring
1{ mkDerivation, attoparsec, base, byteable, bytedump, bytestring
2−, containers, cryptohash, fetchurl, hourglass, mtl, parsec
2+, containers, cryptohash, hourglass, mtl, parsec, patience, random
3−, patience, random, system-fileio, system-filepath, tasty
3+, stdenv, system-fileio, system-filepath, tasty, tasty-quickcheck
4−, tasty-quickcheck, unix-compat, utf8-string, vector, zlib
4+, unix-compat, utf8-string, vector, zlib, zlib-bindings
5−, zlib-bindings
6}:
5}:
7mkDerivation {
6mkDerivation {
8 pname = "hit";
7 pname = "hit";
9 version = "0.6.3";
8 version = "0.6.3";
10− src = fetchurl {
11− url = "http://example.org/";
12− sha256 = "abc";
9+ sha256 = "deadbeef";
13− };
14 isLibrary = true;
10 isLibrary = true;
15 isExecutable = true;
11 isExecutable = true;
16 enableSeparateDataOutput = true;
12 enableSeparateDataOutput = true;
@@ -25,4 +21,4 @@ mkDerivation {
25 homepage = "http://github.com/vincenthz/hit";
21 homepage = "http://github.com/vincenthz/hit";
26 description = "Git operations in haskell";
22 description = "Git operations in haskell";
27 license = stdenv.lib.licenses.bsd3;
23 license = stdenv.lib.licenses.bsd3;
28−}
24+}
test/golden-test-cases/hjson.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, containers, fetchurl, parsec }:
1+{ mkDerivation, base, containers, parsec, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "hjson";
3 pname = "hjson";
4 version = "1.3.2";
4 version = "1.3.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base containers parsec ];
6 libraryHaskellDepends = [ base containers parsec ];
10 description = "JSON parsing library";
7 description = "JSON parsing library";
11 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
12−}
9+}
test/golden-test-cases/hmpfr.nix.golden+3−6
@@ -1,15 +1,12 @@
1−{ mkDerivation, base, fetchurl, integer-gmp, mpfr }:
1+{ mkDerivation, base, integer-gmp, mpfr, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "hmpfr";
3 pname = "hmpfr";
4 version = "0.4.3";
4 version = "0.4.3";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 enableSeparateDataOutput = true;
6 enableSeparateDataOutput = true;
10 libraryHaskellDepends = [ base integer-gmp ];
7 libraryHaskellDepends = [ base integer-gmp ];
11 librarySystemDepends = [ mpfr ];
8 librarySystemDepends = [ mpfr ];
12 homepage = "https://github.com/michalkonecny/hmpfr";
9 homepage = "https://github.com/michalkonecny/hmpfr";
13 description = "Haskell binding to the MPFR library";
10 description = "Haskell binding to the MPFR library";
14 license = stdenv.lib.licenses.bsd3;
11 license = stdenv.lib.licenses.bsd3;
15−}
12+}
test/golden-test-cases/hoogle.nix.golden+5−8
@@ -1,18 +1,15 @@
1{ mkDerivation, aeson, base, binary, bytestring, cmdargs, conduit
1{ mkDerivation, aeson, base, binary, bytestring, cmdargs, conduit
2, conduit-extra, connection, containers, deepseq, directory, extra
2, conduit-extra, connection, containers, deepseq, directory, extra
3−, fetchurl, filepath, haskell-src-exts, http-conduit, http-types
3+, filepath, haskell-src-exts, http-conduit, http-types, js-flot
4−, js-flot, js-jquery, mmap, network, network-uri, old-locale
4+, js-jquery, mmap, network, network-uri, old-locale, process
5−, process, process-extras, QuickCheck, resourcet, storable-tuple
5+, process-extras, QuickCheck, resourcet, stdenv, storable-tuple
6, tar, template-haskell, text, time, transformers, uniplate
6, tar, template-haskell, text, time, transformers, uniplate
7, utf8-string, vector, wai, wai-logger, warp, warp-tls, zlib
7, utf8-string, vector, wai, wai-logger, warp, warp-tls, zlib
8}:
8}:
9mkDerivation {
9mkDerivation {
10 pname = "hoogle";
10 pname = "hoogle";
11 version = "5.0.14";
11 version = "5.0.14";
12− src = fetchurl {
13− url = "http://example.org/";
14− sha256 = "abc";
12+ sha256 = "deadbeef";
15− };
16 isLibrary = true;
13 isLibrary = true;
17 isExecutable = true;
14 isExecutable = true;
18 enableSeparateDataOutput = true;
15 enableSeparateDataOutput = true;
@@ -30,4 +27,4 @@ mkDerivation {
30 homepage = "http://hoogle.haskell.org/";
27 homepage = "http://hoogle.haskell.org/";
31 description = "Haskell API Search";
28 description = "Haskell API Search";
32 license = stdenv.lib.licenses.bsd3;
29 license = stdenv.lib.licenses.bsd3;
33−}
30+}
test/golden-test-cases/hostname-validate.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, attoparsec, base, bytestring, fetchurl }:
1+{ mkDerivation, attoparsec, base, bytestring, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "hostname-validate";
3 pname = "hostname-validate";
4 version = "1.0.0";
4 version = "1.0.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ attoparsec base bytestring ];
6 libraryHaskellDepends = [ attoparsec base bytestring ];
10 description = "Validate hostnames e.g. localhost or foo.co.uk.";
7 description = "Validate hostnames e.g. localhost or foo.co.uk.";
11 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
12−}
9+}
test/golden-test-cases/hsinstall.nix.golden+3−6
@@ -1,11 +1,8 @@
1−{ mkDerivation, base, directory, fetchurl, filepath }:
1+{ mkDerivation, base, directory, filepath, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "hsinstall";
3 pname = "hsinstall";
4 version = "1.6";
4 version = "1.6";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 isLibrary = true;
6 isLibrary = true;
10 isExecutable = true;
7 isExecutable = true;
11 enableSeparateDataOutput = true;
8 enableSeparateDataOutput = true;
@@ -13,4 +10,4 @@ mkDerivation {
13 executableHaskellDepends = [ base directory filepath ];
10 executableHaskellDepends = [ base directory filepath ];
14 description = "Install Haskell software";
11 description = "Install Haskell software";
15 license = stdenv.lib.licenses.isc;
12 license = stdenv.lib.licenses.isc;
16−}
13+}
test/golden-test-cases/hstatsd.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, fetchurl, mtl, network, text }:
1+{ mkDerivation, base, bytestring, mtl, network, stdenv, text }:
2mkDerivation {
2mkDerivation {
3 pname = "hstatsd";
3 pname = "hstatsd";
4 version = "0.1";
4 version = "0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base bytestring mtl network text ];
6 libraryHaskellDepends = [ base bytestring mtl network text ];
10 homepage = "https://github.com/mokus0/hstatsd";
7 homepage = "https://github.com/mokus0/hstatsd";
11 description = "Quick and dirty statsd interface";
8 description = "Quick and dirty statsd interface";
12 license = stdenv.lib.licenses.publicDomain;
9 license = stdenv.lib.licenses.publicDomain;
13−}
10+}
test/golden-test-cases/hsx-jmacro.nix.golden+3−6
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, fetchurl, hsp, jmacro, mtl, text
1+{ mkDerivation, base, hsp, jmacro, mtl, stdenv, text
2, wl-pprint-text
2, wl-pprint-text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "hsx-jmacro";
5 pname = "hsx-jmacro";
6 version = "7.3.8";
6 version = "7.3.8";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base hsp jmacro mtl text wl-pprint-text
9 base hsp jmacro mtl text wl-pprint-text
13 ];
10 ];
14 homepage = "http://www.happstack.com/";
11 homepage = "http://www.happstack.com/";
15 description = "hsp+jmacro support";
12 description = "hsp+jmacro support";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/hsyslog.nix.golden+3−6
@@ -1,11 +1,8 @@
1−{ mkDerivation, base, Cabal, cabal-doctest, doctest, fetchurl }:
1+{ mkDerivation, base, Cabal, cabal-doctest, doctest, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "hsyslog";
3 pname = "hsyslog";
4 version = "5.0.1";
4 version = "5.0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 isLibrary = true;
6 isLibrary = true;
10 isExecutable = true;
7 isExecutable = true;
11 setupHaskellDepends = [ base Cabal cabal-doctest ];
8 setupHaskellDepends = [ base Cabal cabal-doctest ];
@@ -14,4 +11,4 @@ mkDerivation {
14 homepage = "http://github.com/peti/hsyslog";
11 homepage = "http://github.com/peti/hsyslog";
15 description = "FFI interface to syslog(3) from POSIX.1-2001";
12 description = "FFI interface to syslog(3) from POSIX.1-2001";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/htoml.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, aeson, base, bytestring, containers, criterion
1{ mkDerivation, aeson, base, bytestring, containers, criterion
2−, fetchurl, file-embed, old-locale, parsec, tasty, tasty-hspec
2+, file-embed, old-locale, parsec, stdenv, tasty, tasty-hspec
3, tasty-hunit, text, time, unordered-containers, vector
3, tasty-hunit, text, time, unordered-containers, vector
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "htoml";
6 pname = "htoml";
7 version = "1.0.0.3";
7 version = "1.0.0.3";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 aeson base containers old-locale parsec text time
10 aeson base containers old-locale parsec text time
14 unordered-containers vector
11 unordered-containers vector
@@ -24,4 +21,4 @@ mkDerivation {
24 homepage = "https://github.com/cies/htoml";
21 homepage = "https://github.com/cies/htoml";
25 description = "Parser for TOML files";
22 description = "Parser for TOML files";
26 license = stdenv.lib.licenses.bsd3;
23 license = stdenv.lib.licenses.bsd3;
27−}
24+}
test/golden-test-cases/http-conduit.nix.golden+6−8
@@ -1,17 +1,15 @@
1{ mkDerivation, aeson, base, blaze-builder, bytestring
1{ mkDerivation, aeson, base, blaze-builder, bytestring
2, case-insensitive, conduit, conduit-extra, connection, cookie
2, case-insensitive, conduit, conduit-extra, connection, cookie
3−, data-default-class, exceptions, fetchurl, hspec, http-client
3+, data-default-class, exceptions, hspec, http-client
4, http-client-tls, http-types, HUnit, lifted-base, monad-control
4, http-client-tls, http-types, HUnit, lifted-base, monad-control
5−, mtl, network, resourcet, streaming-commons, temporary, text, time
5+, mtl, network, resourcet, stdenv, streaming-commons, temporary
6−, transformers, utf8-string, wai, wai-conduit, warp, warp-tls
6+, text, time, transformers, utf8-string, wai, wai-conduit, warp
7+, warp-tls
7}:
8}:
8mkDerivation {
9mkDerivation {
9 pname = "http-conduit";
10 pname = "http-conduit";
10 version = "2.2.4";
11 version = "2.2.4";
11− src = fetchurl {
12− url = "http://example.org/";
13− sha256 = "abc";
12+ sha256 = "deadbeef";
14− };
15 libraryHaskellDepends = [
13 libraryHaskellDepends = [
16 aeson base bytestring conduit conduit-extra exceptions http-client
14 aeson base bytestring conduit conduit-extra exceptions http-client
17 http-client-tls http-types lifted-base monad-control mtl resourcet
15 http-client-tls http-types lifted-base monad-control mtl resourcet
@@ -28,4 +26,4 @@ mkDerivation {
28 homepage = "http://www.yesodweb.com/book/http-conduit";
26 homepage = "http://www.yesodweb.com/book/http-conduit";
29 description = "HTTP client package with conduit interface and HTTPS support";
27 description = "HTTP client package with conduit interface and HTTPS support";
30 license = stdenv.lib.licenses.bsd3;
28 license = stdenv.lib.licenses.bsd3;
31−}
29+}
test/golden-test-cases/http-link-header.nix.golden+5−7
@@ -1,14 +1,12 @@
1{ mkDerivation, attoparsec, base, bytestring, bytestring-conversion
1{ mkDerivation, attoparsec, base, bytestring, bytestring-conversion
2−, criterion, directory, errors, fetchurl, hspec, hspec-attoparsec
2+, criterion, directory, errors, hspec, hspec-attoparsec
3−, http-api-data, network-uri, QuickCheck, text, transformers
3+, http-api-data, network-uri, QuickCheck, stdenv, text
4+, transformers
4}:
5}:
5mkDerivation {
6mkDerivation {
6 pname = "http-link-header";
7 pname = "http-link-header";
7 version = "1.0.3";
8 version = "1.0.3";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
9+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
10 libraryHaskellDepends = [
13 attoparsec base bytestring bytestring-conversion errors
11 attoparsec base bytestring bytestring-conversion errors
14 http-api-data network-uri text
12 http-api-data network-uri text
@@ -22,4 +20,4 @@ mkDerivation {
22 homepage = "https://github.com/myfreeweb/http-link-header";
20 homepage = "https://github.com/myfreeweb/http-link-header";
23 description = "A parser and writer for the HTTP Link header as specified in RFC 5988 \"Web Linking\"";
21 description = "A parser and writer for the HTTP Link header as specified in RFC 5988 \"Web Linking\"";
24 license = stdenv.lib.licenses.publicDomain;
22 license = stdenv.lib.licenses.publicDomain;
25−}
23+}
test/golden-test-cases/http-media.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, base, bytestring, case-insensitive, containers
1{ mkDerivation, base, bytestring, case-insensitive, containers
2−, fetchurl, QuickCheck, test-framework, test-framework-quickcheck2
2+, QuickCheck, stdenv, test-framework, test-framework-quickcheck2
3, utf8-string
3, utf8-string
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "http-media";
6 pname = "http-media";
7 version = "0.7.1.1";
7 version = "0.7.1.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 base bytestring case-insensitive containers utf8-string
10 base bytestring case-insensitive containers utf8-string
14 ];
11 ];
@@ -19,4 +16,4 @@ mkDerivation {
19 homepage = "https://github.com/zmthy/http-media";
16 homepage = "https://github.com/zmthy/http-media";
20 description = "Processing HTTP Content-Type and Accept headers";
17 description = "Processing HTTP Content-Type and Accept headers";
21 license = stdenv.lib.licenses.mit;
18 license = stdenv.lib.licenses.mit;
22−}
19+}
test/golden-test-cases/hxt-charproperties.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "hxt-charproperties";
3 pname = "hxt-charproperties";
4 version = "9.2.0.1";
4 version = "9.2.0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 homepage = "https://github.com/UweSchmidt/hxt";
7 homepage = "https://github.com/UweSchmidt/hxt";
11 description = "Character properties and classes for XML and Unicode";
8 description = "Character properties and classes for XML and Unicode";
12 license = stdenv.lib.licenses.mit;
9 license = stdenv.lib.licenses.mit;
13−}
10+}
test/golden-test-cases/hxt-expat.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, fetchurl, hexpat, hxt }:
1+{ mkDerivation, base, bytestring, hexpat, hxt, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "hxt-expat";
3 pname = "hxt-expat";
4 version = "9.1.1";
4 version = "9.1.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base bytestring hexpat hxt ];
6 libraryHaskellDepends = [ base bytestring hexpat hxt ];
10 homepage = "http://www.fh-wedel.de/~si/HXmlToolbox/index.html";
7 homepage = "http://www.fh-wedel.de/~si/HXmlToolbox/index.html";
11 description = "Expat parser for HXT";
8 description = "Expat parser for HXT";
12 license = "unknown";
9 license = "unknown";
13−}
10+}
test/golden-test-cases/hxt-tagsoup.nix.golden+4−7
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, fetchurl, hxt, hxt-charproperties
1+{ mkDerivation, base, hxt, hxt-charproperties, hxt-unicode, stdenv
2−, hxt-unicode, tagsoup
2+, tagsoup
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "hxt-tagsoup";
5 pname = "hxt-tagsoup";
6 version = "9.1.4";
6 version = "9.1.4";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base hxt hxt-charproperties hxt-unicode tagsoup
9 base hxt hxt-charproperties hxt-unicode tagsoup
13 ];
10 ];
14 homepage = "https://github.com/UweSchmidt/hxt";
11 homepage = "https://github.com/UweSchmidt/hxt";
15 description = "TagSoup parser for HXT";
12 description = "TagSoup parser for HXT";
16 license = "unknown";
13 license = "unknown";
17−}
14+}
test/golden-test-cases/iconv.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, bytestring, fetchurl }:
1+{ mkDerivation, base, bytestring, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "iconv";
3 pname = "iconv";
4 version = "0.4.1.3";
4 version = "0.4.1.3";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base bytestring ];
6 libraryHaskellDepends = [ base bytestring ];
10 description = "String encoding conversion";
7 description = "String encoding conversion";
11 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
12−}
9+}
test/golden-test-cases/incremental-parser.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, base, bytestring, checkers, criterion, deepseq
1{ mkDerivation, base, bytestring, checkers, criterion, deepseq
2−, fetchurl, monoid-subclasses, QuickCheck, tasty, tasty-quickcheck
2+, monoid-subclasses, QuickCheck, stdenv, tasty, tasty-quickcheck
3, text
3, text
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "incremental-parser";
6 pname = "incremental-parser";
7 version = "0.2.5.2";
7 version = "0.2.5.2";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [ base monoid-subclasses ];
9 libraryHaskellDepends = [ base monoid-subclasses ];
13 testHaskellDepends = [
10 testHaskellDepends = [
14 base checkers monoid-subclasses QuickCheck tasty tasty-quickcheck
11 base checkers monoid-subclasses QuickCheck tasty tasty-quickcheck
@@ -19,4 +16,4 @@ mkDerivation {
19 homepage = "https://github.com/blamario/incremental-parser";
16 homepage = "https://github.com/blamario/incremental-parser";
20 description = "Generic parser library capable of providing partial results from partial input";
17 description = "Generic parser library capable of providing partial results from partial input";
21 license = "GPL";
18 license = "GPL";
22−}
19+}
test/golden-test-cases/indentation-core.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, mtl }:
1+{ mkDerivation, base, mtl, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "indentation-core";
3 pname = "indentation-core";
4 version = "0.0.0.1";
4 version = "0.0.0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base mtl ];
6 libraryHaskellDepends = [ base mtl ];
10 homepage = "https://bitbucket.org/adamsmd/indentation";
7 homepage = "https://bitbucket.org/adamsmd/indentation";
11 description = "Indentation sensitive parsing combinators core library";
8 description = "Indentation sensitive parsing combinators core library";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/indentation-parsec.nix.golden+4−7
@@ -1,16 +1,13 @@
1−{ mkDerivation, base, fetchurl, indentation-core, mtl, parsec
1+{ mkDerivation, base, indentation-core, mtl, parsec, stdenv, tasty
2−, tasty, tasty-hunit
2+, tasty-hunit
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "indentation-parsec";
5 pname = "indentation-parsec";
6 version = "0.0.0.1";
6 version = "0.0.0.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base indentation-core mtl parsec ];
8 libraryHaskellDepends = [ base indentation-core mtl parsec ];
12 testHaskellDepends = [ base parsec tasty tasty-hunit ];
9 testHaskellDepends = [ base parsec tasty tasty-hunit ];
13 homepage = "https://bitbucket.org/adamsmd/indentation";
10 homepage = "https://bitbucket.org/adamsmd/indentation";
14 description = "Indentation sensitive parsing combinators for Parsec";
11 description = "Indentation sensitive parsing combinators for Parsec";
15 license = stdenv.lib.licenses.bsd3;
12 license = stdenv.lib.licenses.bsd3;
16−}
13+}
test/golden-test-cases/inline-c-cpp.nix.golden+3−6
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, fetchurl, hspec, inline-c, safe-exceptions
1+{ mkDerivation, base, hspec, inline-c, safe-exceptions, stdenv
2, template-haskell
2, template-haskell
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "inline-c-cpp";
5 pname = "inline-c-cpp";
6 version = "0.2.1.0";
6 version = "0.2.1.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base inline-c safe-exceptions template-haskell
9 base inline-c safe-exceptions template-haskell
13 ];
10 ];
14 testHaskellDepends = [ base hspec inline-c safe-exceptions ];
11 testHaskellDepends = [ base hspec inline-c safe-exceptions ];
15 description = "Lets you embed C++ code into Haskell";
12 description = "Lets you embed C++ code into Haskell";
16 license = stdenv.lib.licenses.mit;
13 license = stdenv.lib.licenses.mit;
17−}
14+}
test/golden-test-cases/integer-logarithms.nix.golden+4−7
@@ -1,14 +1,11 @@
1−{ mkDerivation, array, base, fetchurl, ghc-prim, integer-gmp
1+{ mkDerivation, array, base, ghc-prim, integer-gmp, QuickCheck
2−, QuickCheck, smallcheck, tasty, tasty-hunit, tasty-quickcheck
2+, smallcheck, stdenv, tasty, tasty-hunit, tasty-quickcheck
3, tasty-smallcheck
3, tasty-smallcheck
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "integer-logarithms";
6 pname = "integer-logarithms";
7 version = "1.0.2";
7 version = "1.0.2";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [ array base ghc-prim integer-gmp ];
9 libraryHaskellDepends = [ array base ghc-prim integer-gmp ];
13 testHaskellDepends = [
10 testHaskellDepends = [
14 base QuickCheck smallcheck tasty tasty-hunit tasty-quickcheck
11 base QuickCheck smallcheck tasty tasty-hunit tasty-quickcheck
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "https://github.com/phadej/integer-logarithms";
14 homepage = "https://github.com/phadej/integer-logarithms";
18 description = "Integer logarithms";
15 description = "Integer logarithms";
19 license = stdenv.lib.licenses.mit;
16 license = stdenv.lib.licenses.mit;
20−}
17+}
test/golden-test-cases/intero.nix.golden+4−7
@@ -1,15 +1,12 @@
1{ mkDerivation, array, base, bytestring, containers, directory
1{ mkDerivation, array, base, bytestring, containers, directory
2−, fetchurl, filepath, ghc, ghc-boot-th, ghc-paths, ghci, haskeline
2+, filepath, ghc, ghc-boot-th, ghc-paths, ghci, haskeline, hspec
3−, hspec, process, regex-compat, syb, temporary, time, transformers
3+, process, regex-compat, stdenv, syb, temporary, time, transformers
4, unix
4, unix
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "intero";
7 pname = "intero";
8 version = "0.1.24";
8 version = "0.1.24";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 isLibrary = false;
10 isLibrary = false;
14 isExecutable = true;
11 isExecutable = true;
15 enableSeparateDataOutput = true;
12 enableSeparateDataOutput = true;
@@ -24,4 +21,4 @@ mkDerivation {
24 homepage = "https://github.com/commercialhaskell/intero";
21 homepage = "https://github.com/commercialhaskell/intero";
25 description = "Complete interactive development program for Haskell";
22 description = "Complete interactive development program for Haskell";
26 license = stdenv.lib.licenses.bsd3;
23 license = stdenv.lib.licenses.bsd3;
27−}
24+}
test/golden-test-cases/invariant.nix.golden+4−7
@@ -1,16 +1,13 @@
1{ mkDerivation, array, base, bifunctors, comonad, containers
1{ mkDerivation, array, base, bifunctors, comonad, containers
2−, contravariant, fetchurl, ghc-prim, hspec, profunctors, QuickCheck
2+, contravariant, ghc-prim, hspec, profunctors, QuickCheck
3−, semigroups, StateVar, stm, tagged, template-haskell
3+, semigroups, StateVar, stdenv, stm, tagged, template-haskell
4, th-abstraction, transformers, transformers-compat
4, th-abstraction, transformers, transformers-compat
5, unordered-containers
5, unordered-containers
6}:
6}:
7mkDerivation {
7mkDerivation {
8 pname = "invariant";
8 pname = "invariant";
9 version = "0.5";
9 version = "0.5";
10− src = fetchurl {
11− url = "http://example.org/";
12− sha256 = "abc";
10+ sha256 = "deadbeef";
13− };
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
15 array base bifunctors comonad containers contravariant ghc-prim
12 array base bifunctors comonad containers contravariant ghc-prim
16 profunctors semigroups StateVar stm tagged template-haskell
13 profunctors semigroups StateVar stm tagged template-haskell
@@ -21,4 +18,4 @@ mkDerivation {
21 homepage = "https://github.com/nfrisby/invariant-functors";
18 homepage = "https://github.com/nfrisby/invariant-functors";
22 description = "Haskell98 invariant functors";
19 description = "Haskell98 invariant functors";
23 license = stdenv.lib.licenses.bsd2;
20 license = stdenv.lib.licenses.bsd2;
24−}
21+}
test/golden-test-cases/io-machine.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, fetchurl, time }:
1+{ mkDerivation, base, stdenv, time }:
2mkDerivation {
2mkDerivation {
3 pname = "io-machine";
3 pname = "io-machine";
4 version = "0.2.0.0";
4 version = "0.2.0.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base time ];
6 libraryHaskellDepends = [ base time ];
10 testHaskellDepends = [ base ];
7 testHaskellDepends = [ base ];
11 homepage = "https://github.com/YoshikuniJujo/io-machine#readme";
8 homepage = "https://github.com/YoshikuniJujo/io-machine#readme";
12 description = "Easy I/O model to learn IO monad";
9 description = "Easy I/O model to learn IO monad";
13 license = stdenv.lib.licenses.bsd3;
10 license = stdenv.lib.licenses.bsd3;
14−}
11+}
test/golden-test-cases/io-streams-haproxy.nix.golden+4−7
@@ -1,14 +1,11 @@
1−{ mkDerivation, attoparsec, base, bytestring, fetchurl, HUnit
1+{ mkDerivation, attoparsec, base, bytestring, HUnit, io-streams
2−, io-streams, network, test-framework, test-framework-hunit
2+, network, stdenv, test-framework, test-framework-hunit
3, transformers
3, transformers
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "io-streams-haproxy";
6 pname = "io-streams-haproxy";
7 version = "1.0.0.2";
7 version = "1.0.0.2";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 attoparsec base bytestring io-streams network transformers
10 attoparsec base bytestring io-streams network transformers
14 ];
11 ];
@@ -19,4 +16,4 @@ mkDerivation {
19 homepage = "http://snapframework.com/";
16 homepage = "http://snapframework.com/";
20 description = "HAProxy protocol 1.5 support for io-streams";
17 description = "HAProxy protocol 1.5 support for io-streams";
21 license = stdenv.lib.licenses.bsd3;
18 license = stdenv.lib.licenses.bsd3;
22−}
19+}
test/golden-test-cases/ip.nix.golden+4−7
@@ -1,15 +1,12 @@
1{ mkDerivation, aeson, attoparsec, base, bytestring, criterion
1{ mkDerivation, aeson, attoparsec, base, bytestring, criterion
2−, doctest, fetchurl, hashable, HUnit, primitive, QuickCheck
2+, doctest, hashable, HUnit, primitive, QuickCheck
3−, quickcheck-classes, test-framework, test-framework-hunit
3+, quickcheck-classes, stdenv, test-framework, test-framework-hunit
4, test-framework-quickcheck2, text, vector
4, test-framework-quickcheck2, text, vector
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "ip";
7 pname = "ip";
8 version = "1.1.1";
8 version = "1.1.1";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
14 aeson attoparsec base bytestring hashable primitive text vector
11 aeson attoparsec base bytestring hashable primitive text vector
15 ];
12 ];
@@ -24,4 +21,4 @@ mkDerivation {
24 homepage = "https://github.com/andrewthad/haskell-ip#readme";
21 homepage = "https://github.com/andrewthad/haskell-ip#readme";
25 description = "Library for IP and MAC addresses";
22 description = "Library for IP and MAC addresses";
26 license = stdenv.lib.licenses.bsd3;
23 license = stdenv.lib.licenses.bsd3;
27−}
24+}
test/golden-test-cases/iso639.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "iso639";
3 pname = "iso639";
4 version = "0.1.0.3";
4 version = "0.1.0.3";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 homepage = "https://github.com/HugoDaniel/iso639";
7 homepage = "https://github.com/HugoDaniel/iso639";
11 description = "ISO-639-1 language codes";
8 description = "ISO-639-1 language codes";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/iso8601-time.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, fetchurl, hspec, HUnit, time }:
1+{ mkDerivation, base, hspec, HUnit, stdenv, time }:
2mkDerivation {
2mkDerivation {
3 pname = "iso8601-time";
3 pname = "iso8601-time";
4 version = "0.1.4";
4 version = "0.1.4";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base time ];
6 libraryHaskellDepends = [ base time ];
10 testHaskellDepends = [ base hspec HUnit time ];
7 testHaskellDepends = [ base hspec HUnit time ];
11 homepage = "https://github.com/nh2/iso8601-time";
8 homepage = "https://github.com/nh2/iso8601-time";
12 description = "Convert to/from the ISO 8601 time format";
9 description = "Convert to/from the ISO 8601 time format";
13 license = stdenv.lib.licenses.mit;
10 license = stdenv.lib.licenses.mit;
14−}
11+}
test/golden-test-cases/jmacro-rpc-happstack.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, aeson, base, blaze-html, bytestring, containers
1{ mkDerivation, aeson, base, blaze-html, bytestring, containers
2−, fetchurl, happstack-server, jmacro, jmacro-rpc, mtl
2+, happstack-server, jmacro, jmacro-rpc, mtl, stdenv
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "jmacro-rpc-happstack";
5 pname = "jmacro-rpc-happstack";
6 version = "0.3.2";
6 version = "0.3.2";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 aeson base blaze-html bytestring containers happstack-server jmacro
9 aeson base blaze-html bytestring containers happstack-server jmacro
13 jmacro-rpc mtl
10 jmacro-rpc mtl
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "http://hub.darcs.net/gershomb/jmacro-rpc";
12 homepage = "http://hub.darcs.net/gershomb/jmacro-rpc";
16 description = "Happstack backend for jmacro-rpc";
13 description = "Happstack backend for jmacro-rpc";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/jmacro-rpc.nix.golden+4−7
@@ -1,14 +1,11 @@
1{ mkDerivation, aeson, attoparsec, base, blaze-html, bytestring
1{ mkDerivation, aeson, attoparsec, base, blaze-html, bytestring
2−, containers, contravariant, fetchurl, jmacro, mtl, scientific
2+, containers, contravariant, jmacro, mtl, scientific, split, stdenv
3−, split, text, unordered-containers, vector
3+, text, unordered-containers, vector
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "jmacro-rpc";
6 pname = "jmacro-rpc";
7 version = "0.3.2";
7 version = "0.3.2";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 aeson attoparsec base blaze-html bytestring containers
10 aeson attoparsec base blaze-html bytestring containers
14 contravariant jmacro mtl scientific split text unordered-containers
11 contravariant jmacro mtl scientific split text unordered-containers
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "http://hub.darcs.net/gershomb/jmacro";
14 homepage = "http://hub.darcs.net/gershomb/jmacro";
18 description = "JSON-RPC clients and servers using JMacro, and evented client-server Reactive Programming";
15 description = "JSON-RPC clients and servers using JMacro, and evented client-server Reactive Programming";
19 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
20−}
17+}
test/golden-test-cases/jose.nix.golden+6−10
@@ -1,17 +1,13 @@
1{ mkDerivation, aeson, attoparsec, base, base64-bytestring
1{ mkDerivation, aeson, attoparsec, base, base64-bytestring
2−, bytestring, concise, containers, cryptonite, fetchurl, hspec
2+, bytestring, concise, containers, cryptonite, hspec, lens, memory
3−, lens, memory, monad-time, mtl, network-uri, QuickCheck
3+, monad-time, mtl, network-uri, QuickCheck, quickcheck-instances
4−, quickcheck-instances, safe, semigroups, tasty, tasty-hspec
4+, safe, semigroups, stdenv, tasty, tasty-hspec, tasty-quickcheck
5−, tasty-quickcheck, template-haskell, text, time
6−, unordered-containers, vector, x509
5+, template-haskell, text, time, unordered-containers, vector, x509
7}:
6}:
8mkDerivation {
7mkDerivation {
9 pname = "jose";
8 pname = "jose";
10 version = "0.6.0.3";
9 version = "0.6.0.3";
11− src = fetchurl {
12− url = "http://example.org/";
13− sha256 = "abc";
10+ sha256 = "deadbeef";
14− };
15 isLibrary = true;
11 isLibrary = true;
16 isExecutable = true;
12 isExecutable = true;
17 libraryHaskellDepends = [
13 libraryHaskellDepends = [
@@ -31,4 +27,4 @@ mkDerivation {
31 homepage = "https://github.com/frasertweedale/hs-jose";
27 homepage = "https://github.com/frasertweedale/hs-jose";
32 description = "Javascript Object Signing and Encryption and JSON Web Token library";
28 description = "Javascript Object Signing and Encryption and JSON Web Token library";
33 license = stdenv.lib.licenses.asl20;
29 license = stdenv.lib.licenses.asl20;
34−}
30+}
test/golden-test-cases/katip-elasticsearch.nix.golden+6−9
@@ -1,17 +1,14 @@
1{ mkDerivation, aeson, async, base, bloodhound, bytestring
1{ mkDerivation, aeson, async, base, bloodhound, bytestring
2, containers, criterion, deepseq, enclosed-exceptions, exceptions
2, containers, criterion, deepseq, enclosed-exceptions, exceptions
3−, fetchurl, http-client, http-types, katip, lens, lens-aeson
3+, http-client, http-types, katip, lens, lens-aeson
4−, quickcheck-instances, random, retry, scientific, stm, stm-chans
4+, quickcheck-instances, random, retry, scientific, stdenv, stm
5−, tagged, tasty, tasty-hunit, tasty-quickcheck, text, time
5+, stm-chans, tagged, tasty, tasty-hunit, tasty-quickcheck, text
6−, transformers, unordered-containers, uuid, vector
6+, time, transformers, unordered-containers, uuid, vector
7}:
7}:
8mkDerivation {
8mkDerivation {
9 pname = "katip-elasticsearch";
9 pname = "katip-elasticsearch";
10 version = "0.4.0.3";
10 version = "0.4.0.3";
11− src = fetchurl {
12− url = "http://example.org/";
13− sha256 = "abc";
11+ sha256 = "deadbeef";
14− };
15 libraryHaskellDepends = [
12 libraryHaskellDepends = [
16 aeson async base bloodhound bytestring enclosed-exceptions
13 aeson async base bloodhound bytestring enclosed-exceptions
17 exceptions http-client http-types katip retry scientific stm
14 exceptions http-client http-types katip retry scientific stm
@@ -30,4 +27,4 @@ mkDerivation {
30 homepage = "https://github.com/Soostone/katip";
27 homepage = "https://github.com/Soostone/katip";
31 description = "ElasticSearch scribe for the Katip logging framework";
28 description = "ElasticSearch scribe for the Katip logging framework";
32 license = stdenv.lib.licenses.bsd3;
29 license = stdenv.lib.licenses.bsd3;
33−}
30+}
test/golden-test-cases/katip.nix.golden+6−9
@@ -1,9 +1,9 @@
1{ mkDerivation, aeson, async, auto-update, base, blaze-builder
1{ mkDerivation, aeson, async, auto-update, base, blaze-builder
2, bytestring, containers, criterion, deepseq, directory, either
2, bytestring, containers, criterion, deepseq, directory, either
3−, fetchurl, filepath, hostname, microlens, microlens-th
3+, filepath, hostname, microlens, microlens-th, monad-control, mtl
4−, monad-control, mtl, old-locale, quickcheck-instances, regex-tdfa
4+, old-locale, quickcheck-instances, regex-tdfa, resourcet
5−, resourcet, safe-exceptions, scientific, semigroups, stm
5+, safe-exceptions, scientific, semigroups, stdenv, stm, string-conv
6−, string-conv, tasty, tasty-golden, tasty-hunit, tasty-quickcheck
6+, tasty, tasty-golden, tasty-hunit, tasty-quickcheck
7, template-haskell, text, time, time-locale-compat, transformers
7, template-haskell, text, time, time-locale-compat, transformers
8, transformers-base, transformers-compat, unix
8, transformers-base, transformers-compat, unix
9, unordered-containers
9, unordered-containers
@@ -11,10 +11,7 @@
11mkDerivation {
11mkDerivation {
12 pname = "katip";
12 pname = "katip";
13 version = "0.5.2.0";
13 version = "0.5.2.0";
14− src = fetchurl {
15− url = "http://example.org/";
16− sha256 = "abc";
14+ sha256 = "deadbeef";
17− };
18 libraryHaskellDepends = [
15 libraryHaskellDepends = [
19 aeson async auto-update base bytestring containers either hostname
16 aeson async auto-update base bytestring containers either hostname
20 microlens microlens-th monad-control mtl old-locale resourcet
17 microlens microlens-th monad-control mtl old-locale resourcet
@@ -35,4 +32,4 @@ mkDerivation {
35 homepage = "https://github.com/Soostone/katip";
32 homepage = "https://github.com/Soostone/katip";
36 description = "A structured logging framework";
33 description = "A structured logging framework";
37 license = stdenv.lib.licenses.bsd3;
34 license = stdenv.lib.licenses.bsd3;
38−}
35+}
test/golden-test-cases/katydid.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, containers, directory, fetchurl, filepath
1+{ mkDerivation, base, containers, directory, filepath, HUnit, hxt
2−, HUnit, hxt, json, mtl, parsec, regex-tdfa, tasty, tasty-hunit
2+, json, mtl, parsec, regex-tdfa, stdenv, tasty, tasty-hunit
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "katydid";
5 pname = "katydid";
6 version = "0.1.1.0";
6 version = "0.1.1.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = true;
8 isLibrary = true;
12 isExecutable = true;
9 isExecutable = true;
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
@@ -21,4 +18,4 @@ mkDerivation {
21 homepage = "https://github.com/katydid/katydid-haskell";
18 homepage = "https://github.com/katydid/katydid-haskell";
22 description = "A haskell implementation of Katydid";
19 description = "A haskell implementation of Katydid";
23 license = stdenv.lib.licenses.bsd3;
20 license = stdenv.lib.licenses.bsd3;
24−}
21+}
test/golden-test-cases/kawhi.nix.golden+6−9
@@ -1,15 +1,12 @@
1−{ mkDerivation, aeson, base, bytestring, exceptions, fetchurl
1+{ mkDerivation, aeson, base, bytestring, exceptions, http-client
2−, http-client, http-conduit, http-types, mtl, safe, scientific
2+, http-conduit, http-types, mtl, safe, scientific, smallcheck
3−, smallcheck, tasty, tasty-hunit, tasty-quickcheck
3+, stdenv, tasty, tasty-hunit, tasty-quickcheck, tasty-smallcheck
4−, tasty-smallcheck, text
4+, text
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "kawhi";
7 pname = "kawhi";
8 version = "0.3.0";
8 version = "0.3.0";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
14 aeson base bytestring exceptions http-client http-conduit
11 aeson base bytestring exceptions http-client http-conduit
15 http-types mtl safe scientific text
12 http-types mtl safe scientific text
@@ -22,4 +19,4 @@ mkDerivation {
22 homepage = "https://github.com/thunky-monk/kawhi";
19 homepage = "https://github.com/thunky-monk/kawhi";
23 description = "stats.NBA.com library";
20 description = "stats.NBA.com library";
24 license = stdenv.lib.licenses.mit;
21 license = stdenv.lib.licenses.mit;
25−}
22+}
test/golden-test-cases/kraken.nix.golden+4−7
@@ -1,16 +1,13 @@
1−{ mkDerivation, aeson, base, bytestring, fetchurl, http-client
1+{ mkDerivation, aeson, base, bytestring, http-client
2−, http-client-tls, mtl
2+, http-client-tls, mtl, stdenv
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "kraken";
5 pname = "kraken";
6 version = "0.1.0";
6 version = "0.1.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 aeson base bytestring http-client http-client-tls mtl
9 aeson base bytestring http-client http-client-tls mtl
13 ];
10 ];
14 description = "Kraken.io API client";
11 description = "Kraken.io API client";
15 license = stdenv.lib.licenses.mit;
12 license = stdenv.lib.licenses.mit;
16−}
13+}
test/golden-test-cases/l10n.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, text, time }:
1+{ mkDerivation, base, stdenv, text, time }:
2mkDerivation {
2mkDerivation {
3 pname = "l10n";
3 pname = "l10n";
4 version = "0.1.0.1";
4 version = "0.1.0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base text time ];
6 libraryHaskellDepends = [ base text time ];
10 homepage = "https://github.com/louispan/l10n#readme";
7 homepage = "https://github.com/louispan/l10n#readme";
11 description = "Enables providing localization as typeclass instances in separate files";
8 description = "Enables providing localization as typeclass instances in separate files";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/lambdabot-social-plugins.nix.golden+4−7
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, binary, bytestring, containers, fetchurl
1+{ mkDerivation, base, binary, bytestring, containers
2−, lambdabot-core, mtl, split, time
2+, lambdabot-core, mtl, split, stdenv, time
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "lambdabot-social-plugins";
5 pname = "lambdabot-social-plugins";
6 version = "5.1.0.1";
6 version = "5.1.0.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base binary bytestring containers lambdabot-core mtl split time
9 base binary bytestring containers lambdabot-core mtl split time
13 ];
10 ];
14 homepage = "https://wiki.haskell.org/Lambdabot";
11 homepage = "https://wiki.haskell.org/Lambdabot";
15 description = "Social plugins for Lambdabot";
12 description = "Social plugins for Lambdabot";
16 license = "GPL";
13 license = "GPL";
17−}
14+}
test/golden-test-cases/lazy-csv.nix.golden+3−6
@@ -1,11 +1,8 @@
1−{ mkDerivation, base, bytestring, fetchurl }:
1+{ mkDerivation, base, bytestring, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "lazy-csv";
3 pname = "lazy-csv";
4 version = "0.5.1";
4 version = "0.5.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 isLibrary = true;
6 isLibrary = true;
10 isExecutable = true;
7 isExecutable = true;
11 libraryHaskellDepends = [ base bytestring ];
8 libraryHaskellDepends = [ base bytestring ];
@@ -13,4 +10,4 @@ mkDerivation {
13 homepage = "http://code.haskell.org/lazy-csv";
10 homepage = "http://code.haskell.org/lazy-csv";
14 description = "Efficient lazy parsers for CSV (comma-separated values)";
11 description = "Efficient lazy parsers for CSV (comma-separated values)";
15 license = stdenv.lib.licenses.bsd3;
12 license = stdenv.lib.licenses.bsd3;
16−}
13+}
test/golden-test-cases/lens-aeson.nix.golden+5−8
@@ -1,15 +1,12 @@
1{ mkDerivation, aeson, attoparsec, base, bytestring, Cabal
1{ mkDerivation, aeson, attoparsec, base, bytestring, Cabal
2−, cabal-doctest, doctest, fetchurl, generic-deriving, lens
2+, cabal-doctest, doctest, generic-deriving, lens, scientific
3−, scientific, semigroups, simple-reflect, text
3+, semigroups, simple-reflect, stdenv, text, unordered-containers
4−, unordered-containers, vector
4+, vector
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "lens-aeson";
7 pname = "lens-aeson";
8 version = "1.0.2";
8 version = "1.0.2";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 setupHaskellDepends = [ base Cabal cabal-doctest ];
10 setupHaskellDepends = [ base Cabal cabal-doctest ];
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
15 aeson attoparsec base bytestring lens scientific text
12 aeson attoparsec base bytestring lens scientific text
@@ -21,4 +18,4 @@ mkDerivation {
21 homepage = "http://github.com/lens/lens-aeson/";
18 homepage = "http://github.com/lens/lens-aeson/";
22 description = "Law-abiding lenses for aeson";
19 description = "Law-abiding lenses for aeson";
23 license = stdenv.lib.licenses.mit;
20 license = stdenv.lib.licenses.mit;
24−}
21+}
test/golden-test-cases/lens.nix.golden+6−9
@@ -1,10 +1,10 @@
1{ mkDerivation, array, base, base-orphans, bifunctors, bytestring
1{ mkDerivation, array, base, base-orphans, bifunctors, bytestring
2, Cabal, cabal-doctest, call-stack, comonad, containers
2, Cabal, cabal-doctest, call-stack, comonad, containers
3, contravariant, criterion, deepseq, directory, distributive
3, contravariant, criterion, deepseq, directory, distributive
4−, doctest, exceptions, fetchurl, filepath, free, generic-deriving
4+, doctest, exceptions, filepath, free, generic-deriving, ghc-prim
5−, ghc-prim, hashable, HUnit, kan-extensions, mtl, nats, parallel
5+, hashable, HUnit, kan-extensions, mtl, nats, parallel, profunctors
6−, profunctors, QuickCheck, reflection, semigroupoids, semigroups
6+, QuickCheck, reflection, semigroupoids, semigroups, simple-reflect
7−, simple-reflect, tagged, template-haskell, test-framework
7+, stdenv, tagged, template-haskell, test-framework
8, test-framework-hunit, test-framework-quickcheck2
8, test-framework-hunit, test-framework-quickcheck2
9, test-framework-th, text, th-abstraction, transformers
9, test-framework-th, text, th-abstraction, transformers
10, transformers-compat, unordered-containers, vector, void
10, transformers-compat, unordered-containers, vector, void
@@ -12,10 +12,7 @@
12mkDerivation {
12mkDerivation {
13 pname = "lens";
13 pname = "lens";
14 version = "4.15.4";
14 version = "4.15.4";
15− src = fetchurl {
16− url = "http://example.org/";
17− sha256 = "abc";
15+ sha256 = "deadbeef";
18− };
19 setupHaskellDepends = [ base Cabal cabal-doctest filepath ];
16 setupHaskellDepends = [ base Cabal cabal-doctest filepath ];
20 libraryHaskellDepends = [
17 libraryHaskellDepends = [
21 array base base-orphans bifunctors bytestring call-stack comonad
18 array base base-orphans bifunctors bytestring call-stack comonad
@@ -39,4 +36,4 @@ mkDerivation {
39 homepage = "http://github.com/ekmett/lens/";
36 homepage = "http://github.com/ekmett/lens/";
40 description = "Lenses, Folds and Traversals";
37 description = "Lenses, Folds and Traversals";
41 license = stdenv.lib.licenses.bsd2;
38 license = stdenv.lib.licenses.bsd2;
42−}
39+}
test/golden-test-cases/libgit.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, mtl, process }:
1+{ mkDerivation, base, mtl, process, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "libgit";
3 pname = "libgit";
4 version = "0.3.1";
4 version = "0.3.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base mtl process ];
6 libraryHaskellDepends = [ base mtl process ];
10 homepage = "https://github.com/vincenthz/hs-libgit";
7 homepage = "https://github.com/vincenthz/hs-libgit";
11 description = "Simple Git Wrapper";
8 description = "Simple Git Wrapper";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/librato.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, aeson, attoparsec, base, bytestring, either
1{ mkDerivation, aeson, attoparsec, base, bytestring, either
2−, fetchurl, http-client, http-conduit, http-types, mtl, resourcet
2+, http-client, http-conduit, http-types, mtl, resourcet, stdenv
3, text, unordered-containers, uri-templater, vector
3, text, unordered-containers, uri-templater, vector
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "librato";
6 pname = "librato";
7 version = "0.2.0.1";
7 version = "0.2.0.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 aeson attoparsec base bytestring either http-client http-conduit
10 aeson attoparsec base bytestring either http-client http-conduit
14 http-types mtl resourcet text unordered-containers uri-templater
11 http-types mtl resourcet text unordered-containers uri-templater
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "https://github.com/SaneTracker/librato";
14 homepage = "https://github.com/SaneTracker/librato";
18 description = "Bindings to the Librato API";
15 description = "Bindings to the Librato API";
19 license = stdenv.lib.licenses.mit;
16 license = stdenv.lib.licenses.mit;
20−}
17+}
test/golden-test-cases/lifted-async.nix.golden+5−8
@@ -1,14 +1,11 @@
1−{ mkDerivation, async, base, constraints, criterion, deepseq
1+{ mkDerivation, async, base, constraints, criterion, deepseq, HUnit
2−, fetchurl, HUnit, lifted-base, monad-control, mtl, tasty
2+, lifted-base, monad-control, mtl, stdenv, tasty, tasty-hunit
3−, tasty-hunit, tasty-th, transformers-base
3+, tasty-th, transformers-base
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "lifted-async";
6 pname = "lifted-async";
7 version = "0.9.3.2";
7 version = "0.9.3.2";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 async base constraints lifted-base monad-control transformers-base
10 async base constraints lifted-base monad-control transformers-base
14 ];
11 ];
@@ -20,4 +17,4 @@ mkDerivation {
20 homepage = "https://github.com/maoe/lifted-async";
17 homepage = "https://github.com/maoe/lifted-async";
21 description = "Run lifted IO operations asynchronously and wait for their results";
18 description = "Run lifted IO operations asynchronously and wait for their results";
22 license = stdenv.lib.licenses.bsd3;
19 license = stdenv.lib.licenses.bsd3;
23−}
20+}
test/golden-test-cases/lmdb.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, array, base, fetchurl, lmdb }:
1+{ mkDerivation, array, base, lmdb, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "lmdb";
3 pname = "lmdb";
4 version = "0.2.5";
4 version = "0.2.5";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ array base ];
6 libraryHaskellDepends = [ array base ];
10 librarySystemDepends = [ lmdb ];
7 librarySystemDepends = [ lmdb ];
11 homepage = "http://github.com/dmbarbour/haskell-lmdb";
8 homepage = "http://github.com/dmbarbour/haskell-lmdb";
12 description = "Lightning MDB bindings";
9 description = "Lightning MDB bindings";
13 license = stdenv.lib.licenses.bsd2;
10 license = stdenv.lib.licenses.bsd2;
14−}
11+}
test/golden-test-cases/logging-effect-extra-file.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, logging-effect, template-haskell
1+{ mkDerivation, base, logging-effect, stdenv, template-haskell
2, wl-pprint-text
2, wl-pprint-text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "logging-effect-extra-file";
5 pname = "logging-effect-extra-file";
6 version = "1.1.1";
6 version = "1.1.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = true;
8 isLibrary = true;
12 isExecutable = true;
9 isExecutable = true;
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "https://github.com/jship/logging-effect-extra#readme";
14 homepage = "https://github.com/jship/logging-effect-extra#readme";
18 description = "TH splices to augment log messages with file info";
15 description = "TH splices to augment log messages with file info";
19 license = stdenv.lib.licenses.mit;
16 license = stdenv.lib.licenses.mit;
20−}
17+}
test/golden-test-cases/lucid.nix.golden+4−7
@@ -1,14 +1,11 @@
1{ mkDerivation, base, bifunctors, blaze-builder, bytestring
1{ mkDerivation, base, bifunctors, blaze-builder, bytestring
2−, containers, criterion, deepseq, fetchurl, hashable, hspec, HUnit
2+, containers, criterion, deepseq, hashable, hspec, HUnit, mmorph
3−, mmorph, mtl, parsec, text, transformers, unordered-containers
3+, mtl, parsec, stdenv, text, transformers, unordered-containers
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "lucid";
6 pname = "lucid";
7 version = "2.9.9";
7 version = "2.9.9";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 base blaze-builder bytestring containers hashable mmorph mtl text
10 base blaze-builder bytestring containers hashable mmorph mtl text
14 transformers unordered-containers
11 transformers unordered-containers
@@ -22,4 +19,4 @@ mkDerivation {
22 homepage = "https://github.com/chrisdone/lucid";
19 homepage = "https://github.com/chrisdone/lucid";
23 description = "Clear to write, read and edit DSL for HTML";
20 description = "Clear to write, read and edit DSL for HTML";
24 license = stdenv.lib.licenses.bsd3;
21 license = stdenv.lib.licenses.bsd3;
25−}
22+}
test/golden-test-cases/mainland-pretty.nix.golden+3−6
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, containers, fetchurl, srcloc, text
1+{ mkDerivation, base, containers, srcloc, stdenv, text
2, transformers
2, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "mainland-pretty";
5 pname = "mainland-pretty";
6 version = "0.6.1";
6 version = "0.6.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base containers srcloc text transformers
9 base containers srcloc text transformers
13 ];
10 ];
14 homepage = "https://github.com/mainland/mainland-pretty";
11 homepage = "https://github.com/mainland/mainland-pretty";
15 description = "Pretty printing designed for printing source code";
12 description = "Pretty printing designed for printing source code";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/matrices.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, criterion, deepseq, fetchurl, primitive
1+{ mkDerivation, base, criterion, deepseq, primitive, stdenv, tasty
2−, tasty, tasty-hunit, tasty-quickcheck, vector
2+, tasty-hunit, tasty-quickcheck, vector
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "matrices";
5 pname = "matrices";
6 version = "0.4.5";
6 version = "0.4.5";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base deepseq primitive vector ];
8 libraryHaskellDepends = [ base deepseq primitive vector ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 base tasty tasty-hunit tasty-quickcheck vector
10 base tasty tasty-hunit tasty-quickcheck vector
@@ -15,4 +12,4 @@ mkDerivation {
15 benchmarkHaskellDepends = [ base criterion vector ];
12 benchmarkHaskellDepends = [ base criterion vector ];
16 description = "native matrix based on vector";
13 description = "native matrix based on vector";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/median-stream.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, fetchurl, heap, QuickCheck }:
1+{ mkDerivation, base, heap, QuickCheck, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "median-stream";
3 pname = "median-stream";
4 version = "0.7.0.0";
4 version = "0.7.0.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base heap ];
6 libraryHaskellDepends = [ base heap ];
10 testHaskellDepends = [ base QuickCheck ];
7 testHaskellDepends = [ base QuickCheck ];
11 homepage = "https://github.com/caneroj1/median-stream#readme";
8 homepage = "https://github.com/caneroj1/median-stream#readme";
12 description = "Constant-time queries for the median of a stream of numeric data";
9 description = "Constant-time queries for the median of a stream of numeric data";
13 license = stdenv.lib.licenses.bsd3;
10 license = stdenv.lib.licenses.bsd3;
14−}
11+}
test/golden-test-cases/megaparsec.nix.golden+5−8
@@ -1,15 +1,12 @@
1{ mkDerivation, base, bytestring, case-insensitive, containers
1{ mkDerivation, base, bytestring, case-insensitive, containers
2−, criterion, deepseq, fetchurl, hspec, hspec-expectations, mtl
2+, criterion, deepseq, hspec, hspec-expectations, mtl
3−, parser-combinators, QuickCheck, scientific, text, transformers
3+, parser-combinators, QuickCheck, scientific, stdenv, text
4−, weigh
4+, transformers, weigh
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "megaparsec";
7 pname = "megaparsec";
8 version = "6.3.0";
8 version = "6.3.0";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
14 base bytestring case-insensitive containers deepseq mtl
11 base bytestring case-insensitive containers deepseq mtl
15 parser-combinators scientific text transformers
12 parser-combinators scientific text transformers
@@ -22,4 +19,4 @@ mkDerivation {
22 homepage = "https://github.com/mrkkrp/megaparsec";
19 homepage = "https://github.com/mrkkrp/megaparsec";
23 description = "Monadic parser combinators";
20 description = "Monadic parser combinators";
24 license = stdenv.lib.licenses.bsd2;
21 license = stdenv.lib.licenses.bsd2;
25−}
22+}
test/golden-test-cases/mersenne-random.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, old-time }:
1+{ mkDerivation, base, old-time, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "mersenne-random";
3 pname = "mersenne-random";
4 version = "1.0.0.1";
4 version = "1.0.0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base old-time ];
6 libraryHaskellDepends = [ base old-time ];
10 homepage = "http://code.haskell.org/~dons/code/mersenne-random";
7 homepage = "http://code.haskell.org/~dons/code/mersenne-random";
11 description = "Generate high quality pseudorandom numbers using a SIMD Fast Mersenne Twister";
8 description = "Generate high quality pseudorandom numbers using a SIMD Fast Mersenne Twister";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/messagepack.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, base, bytestring, cereal, containers, deepseq
1{ mkDerivation, base, bytestring, cereal, containers, deepseq
2−, fetchurl, QuickCheck, test-framework, test-framework-quickcheck2
2+, QuickCheck, stdenv, test-framework, test-framework-quickcheck2
3, test-framework-th
3, test-framework-th
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "messagepack";
6 pname = "messagepack";
7 version = "0.5.4";
7 version = "0.5.4";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 base bytestring cereal containers deepseq
10 base bytestring cereal containers deepseq
14 ];
11 ];
@@ -19,4 +16,4 @@ mkDerivation {
19 homepage = "https://github.com/rodrigosetti/messagepack";
16 homepage = "https://github.com/rodrigosetti/messagepack";
20 description = "Serialize instance for Message Pack Object";
17 description = "Serialize instance for Message Pack Object";
21 license = stdenv.lib.licenses.mit;
18 license = stdenv.lib.licenses.mit;
22−}
19+}
test/golden-test-cases/microlens-ghc.nix.golden+4−7
@@ -1,17 +1,14 @@
1−{ mkDerivation, array, base, bytestring, containers, fetchurl
1+{ mkDerivation, array, base, bytestring, containers, microlens
2−, microlens, transformers
2+, stdenv, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "microlens-ghc";
5 pname = "microlens-ghc";
6 version = "0.4.8.0";
6 version = "0.4.8.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 array base bytestring containers microlens transformers
9 array base bytestring containers microlens transformers
13 ];
10 ];
14 homepage = "http://github.com/aelve/microlens";
11 homepage = "http://github.com/aelve/microlens";
15 description = "microlens + array, bytestring, containers, transformers";
12 description = "microlens + array, bytestring, containers, transformers";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/microlens.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "microlens";
3 pname = "microlens";
4 version = "0.4.8.1";
4 version = "0.4.8.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 homepage = "http://github.com/aelve/microlens";
7 homepage = "http://github.com/aelve/microlens";
11 description = "A tiny lens library with no dependencies. If you're writing an app, you probably want microlens-platform, not this.";
8 description = "A tiny lens library with no dependencies. If you're writing an app, you probably want microlens-platform, not this.";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/minio-hs.nix.golden+7−11
@@ -1,20 +1,16 @@
1{ mkDerivation, aeson, async, base, base64-bytestring, bytestring
1{ mkDerivation, aeson, async, base, base64-bytestring, bytestring
2, case-insensitive, conduit, conduit-combinators, conduit-extra
2, case-insensitive, conduit, conduit-combinators, conduit-extra
3, containers, cryptonite, cryptonite-conduit, data-default
3, containers, cryptonite, cryptonite-conduit, data-default
4−, directory, exceptions, fetchurl, filepath, http-client
4+, directory, exceptions, filepath, http-client, http-conduit
5−, http-conduit, http-types, lifted-async, lifted-base, memory
5+, http-types, lifted-async, lifted-base, memory, monad-control
6−, monad-control, protolude, QuickCheck, resourcet, tasty
6+, protolude, QuickCheck, resourcet, stdenv, tasty, tasty-hunit
7−, tasty-hunit, tasty-quickcheck, tasty-smallcheck, temporary, text
7+, tasty-quickcheck, tasty-smallcheck, temporary, text, text-format
8−, text-format, time, transformers, transformers-base, vector
8+, time, transformers, transformers-base, vector, xml-conduit
9−, xml-conduit
10}:
9}:
11mkDerivation {
10mkDerivation {
12 pname = "minio-hs";
11 pname = "minio-hs";
13 version = "0.3.2";
12 version = "0.3.2";
14− src = fetchurl {
15− url = "http://example.org/";
16− sha256 = "abc";
13+ sha256 = "deadbeef";
17− };
18 libraryHaskellDepends = [
14 libraryHaskellDepends = [
19 aeson async base base64-bytestring bytestring case-insensitive
15 aeson async base base64-bytestring bytestring case-insensitive
20 conduit conduit-combinators conduit-extra containers cryptonite
16 conduit conduit-combinators conduit-extra containers cryptonite
@@ -35,4 +31,4 @@ mkDerivation {
35 homepage = "https://github.com/minio/minio-hs#readme";
31 homepage = "https://github.com/minio/minio-hs#readme";
36 description = "A Minio Haskell Library for Amazon S3 compatible cloud storage";
32 description = "A Minio Haskell Library for Amazon S3 compatible cloud storage";
37 license = stdenv.lib.licenses.asl20;
33 license = stdenv.lib.licenses.asl20;
38−}
34+}
test/golden-test-cases/mmorph.nix.golden+3−6
@@ -1,16 +1,13 @@
1−{ mkDerivation, base, fetchurl, mtl, transformers
1+{ mkDerivation, base, mtl, stdenv, transformers
2, transformers-compat
2, transformers-compat
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "mmorph";
5 pname = "mmorph";
6 version = "1.1.0";
6 version = "1.1.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base mtl transformers transformers-compat
9 base mtl transformers transformers-compat
13 ];
10 ];
14 description = "Monad morphisms";
11 description = "Monad morphisms";
15 license = stdenv.lib.licenses.bsd3;
12 license = stdenv.lib.licenses.bsd3;
16−}
13+}
test/golden-test-cases/mnist-idx.nix.golden+4−7
@@ -1,16 +1,13 @@
1−{ mkDerivation, base, binary, bytestring, directory, fetchurl
1+{ mkDerivation, base, binary, bytestring, directory, hspec, stdenv
2−, hspec, vector
2+, vector
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "mnist-idx";
5 pname = "mnist-idx";
6 version = "0.1.2.8";
6 version = "0.1.2.8";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base binary bytestring vector ];
8 libraryHaskellDepends = [ base binary bytestring vector ];
12 testHaskellDepends = [ base binary directory hspec vector ];
9 testHaskellDepends = [ base binary directory hspec vector ];
13 homepage = "https://github.com/kryoxide/mnist-idx/";
10 homepage = "https://github.com/kryoxide/mnist-idx/";
14 description = "Read and write IDX data that is used in e.g. the MNIST database.";
11 description = "Read and write IDX data that is used in e.g. the MNIST database.";
15 license = stdenv.lib.licenses.lgpl3;
12 license = stdenv.lib.licenses.lgpl3;
16−}
13+}
test/golden-test-cases/mole.nix.golden+7−10
@@ -1,17 +1,14 @@
1{ mkDerivation, attoparsec, base, base64-bytestring, bytestring
1{ mkDerivation, attoparsec, base, base64-bytestring, bytestring
2−, containers, cryptohash, css-syntax, directory, fetchurl
2+, containers, cryptohash, css-syntax, directory, filemanip
3−, filemanip, filepath, fsnotify, hspec, hspec-smallcheck, kraken
3+, filepath, fsnotify, hspec, hspec-smallcheck, kraken, mtl
4−, mtl, network-uri, optparse-applicative, process, smallcheck
4+, network-uri, optparse-applicative, process, smallcheck, snap-core
5−, snap-core, snap-server, stm, tagsoup, text, time, transformers
5+, snap-server, stdenv, stm, tagsoup, text, time, transformers, unix
6−, unix, unordered-containers, vector
6+, unordered-containers, vector
7}:
7}:
8mkDerivation {
8mkDerivation {
9 pname = "mole";
9 pname = "mole";
10 version = "0.0.6";
10 version = "0.0.6";
11− src = fetchurl {
12− url = "http://example.org/";
13− sha256 = "abc";
11+ sha256 = "deadbeef";
14− };
15 isLibrary = false;
12 isLibrary = false;
16 isExecutable = true;
13 isExecutable = true;
17 executableHaskellDepends = [
14 executableHaskellDepends = [
@@ -26,4 +23,4 @@ mkDerivation {
26 ];
23 ];
27 description = "A glorified string replacement tool";
24 description = "A glorified string replacement tool";
28 license = stdenv.lib.licenses.mit;
25 license = stdenv.lib.licenses.mit;
29−}
26+}
test/golden-test-cases/monad-products.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, semigroupoids }:
1+{ mkDerivation, base, semigroupoids, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "monad-products";
3 pname = "monad-products";
4 version = "4.0.1";
4 version = "4.0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base semigroupoids ];
6 libraryHaskellDepends = [ base semigroupoids ];
10 homepage = "http://github.com/ekmett/monad-products";
7 homepage = "http://github.com/ekmett/monad-products";
11 description = "Monad products";
8 description = "Monad products";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/monadcryptorandom.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, crypto-api, exceptions, fetchurl
1+{ mkDerivation, base, bytestring, crypto-api, exceptions, mtl
2−, mtl, tagged, transformers, transformers-compat
2+, stdenv, tagged, transformers, transformers-compat
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "monadcryptorandom";
5 pname = "monadcryptorandom";
6 version = "0.7.1";
6 version = "0.7.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base bytestring crypto-api exceptions mtl tagged transformers
9 base bytestring crypto-api exceptions mtl tagged transformers
13 transformers-compat
10 transformers-compat
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/TomMD/monadcryptorandom";
12 homepage = "https://github.com/TomMD/monadcryptorandom";
16 description = "A monad for using CryptoRandomGen";
13 description = "A monad for using CryptoRandomGen";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/monadloc.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, template-haskell, transformers }:
1+{ mkDerivation, base, stdenv, template-haskell, transformers }:
2mkDerivation {
2mkDerivation {
3 pname = "monadloc";
3 pname = "monadloc";
4 version = "0.7.1";
4 version = "0.7.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base template-haskell transformers ];
6 libraryHaskellDepends = [ base template-haskell transformers ];
10 homepage = "http://github.com/pepeiborra/monadloc";
7 homepage = "http://github.com/pepeiborra/monadloc";
11 description = "A class for monads which can keep a monadic call trace";
8 description = "A class for monads which can keep a monadic call trace";
12 license = stdenv.lib.licenses.publicDomain;
9 license = stdenv.lib.licenses.publicDomain;
13−}
10+}
test/golden-test-cases/mongoDB.nix.golden+5−8
@@ -1,17 +1,14 @@
1{ mkDerivation, array, base, base16-bytestring, base64-bytestring
1{ mkDerivation, array, base, base16-bytestring, base64-bytestring
2, binary, bson, bytestring, conduit, conduit-extra, containers
2, binary, bson, bytestring, conduit, conduit-extra, containers
3−, criterion, cryptohash, data-default-class, fetchurl, hashtables
3+, criterion, cryptohash, data-default-class, hashtables, hspec
4−, hspec, lifted-base, monad-control, mtl, network, nonce
4+, lifted-base, monad-control, mtl, network, nonce, old-locale
5−, old-locale, parsec, pureMD5, random, random-shuffle, resourcet
5+, parsec, pureMD5, random, random-shuffle, resourcet, stdenv
6, tagged, text, time, tls, transformers, transformers-base
6, tagged, text, time, tls, transformers, transformers-base
7}:
7}:
8mkDerivation {
8mkDerivation {
9 pname = "mongoDB";
9 pname = "mongoDB";
10 version = "2.3.0.1";
10 version = "2.3.0.1";
11− src = fetchurl {
12− url = "http://example.org/";
13− sha256 = "abc";
11+ sha256 = "deadbeef";
14− };
15 libraryHaskellDepends = [
12 libraryHaskellDepends = [
16 array base base16-bytestring base64-bytestring binary bson
13 array base base16-bytestring base64-bytestring binary bson
17 bytestring conduit conduit-extra containers cryptohash
14 bytestring conduit conduit-extra containers cryptohash
@@ -29,4 +26,4 @@ mkDerivation {
29 homepage = "https://github.com/mongodb-haskell/mongodb";
26 homepage = "https://github.com/mongodb-haskell/mongodb";
30 description = "Driver (client) for MongoDB, a free, scalable, fast, document DBMS";
27 description = "Driver (client) for MongoDB, a free, scalable, fast, document DBMS";
31 license = stdenv.lib.licenses.asl20;
28 license = stdenv.lib.licenses.asl20;
32−}
29+}
test/golden-test-cases/monoid-extras.nix.golden+4−7
@@ -1,15 +1,12 @@
1−{ mkDerivation, base, criterion, fetchurl, groups, semigroupoids
1+{ mkDerivation, base, criterion, groups, semigroupoids, semigroups
2−, semigroups
2+, stdenv
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "monoid-extras";
5 pname = "monoid-extras";
6 version = "0.4.2";
6 version = "0.4.2";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base groups semigroupoids semigroups ];
8 libraryHaskellDepends = [ base groups semigroupoids semigroups ];
12 benchmarkHaskellDepends = [ base criterion ];
9 benchmarkHaskellDepends = [ base criterion ];
13 description = "Various extra monoid-related definitions and utilities";
10 description = "Various extra monoid-related definitions and utilities";
14 license = stdenv.lib.licenses.bsd3;
11 license = stdenv.lib.licenses.bsd3;
15−}
12+}
test/golden-test-cases/mwc-random-monad.nix.golden+4−7
@@ -1,16 +1,13 @@
1−{ mkDerivation, base, fetchurl, monad-primitive, mwc-random
1+{ mkDerivation, base, monad-primitive, mwc-random, primitive
2−, primitive, transformers, vector
2+, stdenv, transformers, vector
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "mwc-random-monad";
5 pname = "mwc-random-monad";
6 version = "0.7.3.1";
6 version = "0.7.3.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base monad-primitive mwc-random primitive transformers vector
9 base monad-primitive mwc-random primitive transformers vector
13 ];
10 ];
14 description = "Monadic interface for mwc-random";
11 description = "Monadic interface for mwc-random";
15 license = stdenv.lib.licenses.bsd3;
12 license = stdenv.lib.licenses.bsd3;
16−}
13+}
test/golden-test-cases/mwc-random.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, math-functions, primitive, time
1+{ mkDerivation, base, math-functions, primitive, stdenv, time
2, vector
2, vector
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "mwc-random";
5 pname = "mwc-random";
6 version = "0.13.6.0";
6 version = "0.13.6.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base math-functions primitive time vector
9 base math-functions primitive time vector
13 ];
10 ];
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/bos/mwc-random";
12 homepage = "https://github.com/bos/mwc-random";
16 description = "Fast, high quality pseudo random number generation";
13 description = "Fast, high quality pseudo random number generation";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/nanospec.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, hspec, silently }:
1+{ mkDerivation, base, hspec, silently, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "nanospec";
3 pname = "nanospec";
4 version = "0.2.1";
4 version = "0.2.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 testHaskellDepends = [ base hspec silently ];
7 testHaskellDepends = [ base hspec silently ];
11 description = "A lightweight implementation of a subset of Hspec's API";
8 description = "A lightweight implementation of a subset of Hspec's API";
12 license = stdenv.lib.licenses.mit;
9 license = stdenv.lib.licenses.mit;
13−}
10+}
test/golden-test-cases/netpbm.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, attoparsec, attoparsec-binary, base, bytestring
1{ mkDerivation, attoparsec, attoparsec-binary, base, bytestring
2−, criterion, fetchurl, hspec, HUnit, storable-record
2+, criterion, hspec, HUnit, stdenv, storable-record
3, unordered-containers, vector, vector-th-unbox
3, unordered-containers, vector, vector-th-unbox
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "netpbm";
6 pname = "netpbm";
7 version = "1.0.2";
7 version = "1.0.2";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 attoparsec attoparsec-binary base bytestring storable-record
10 attoparsec attoparsec-binary base bytestring storable-record
14 unordered-containers vector vector-th-unbox
11 unordered-containers vector vector-th-unbox
@@ -18,4 +15,4 @@ mkDerivation {
18 homepage = "https://github.com/nh2/haskell-netpbm";
15 homepage = "https://github.com/nh2/haskell-netpbm";
19 description = "Loading PBM, PGM, PPM image files";
16 description = "Loading PBM, PGM, PPM image files";
20 license = stdenv.lib.licenses.mit;
17 license = stdenv.lib.licenses.mit;
21−}
18+}
test/golden-test-cases/network-protocol-xmpp.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, fetchurl, gnuidn, gnutls, gsasl
1+{ mkDerivation, base, bytestring, gnuidn, gnutls, gsasl, libxml-sax
2−, libxml-sax, monads-tf, network, text, transformers, xml-types
2+, monads-tf, network, stdenv, text, transformers, xml-types
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "network-protocol-xmpp";
5 pname = "network-protocol-xmpp";
6 version = "0.4.8";
6 version = "0.4.8";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base bytestring gnuidn gnutls gsasl libxml-sax monads-tf network
9 base bytestring gnuidn gnutls gsasl libxml-sax monads-tf network
13 text transformers xml-types
10 text transformers xml-types
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://john-millikin.com/software/haskell-xmpp/";
12 homepage = "https://john-millikin.com/software/haskell-xmpp/";
16 description = "Client library for the XMPP protocol";
13 description = "Client library for the XMPP protocol";
17 license = stdenv.lib.licenses.gpl3;
14 license = stdenv.lib.licenses.gpl3;
18−}
15+}
test/golden-test-cases/network-transport-tcp.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, base, bytestring, containers, data-accessor
1{ mkDerivation, base, bytestring, containers, data-accessor
2−, fetchurl, network, network-transport, network-transport-tests
2+, network, network-transport, network-transport-tests, stdenv
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "network-transport-tcp";
5 pname = "network-transport-tcp";
6 version = "0.6.0";
6 version = "0.6.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base bytestring containers data-accessor network network-transport
9 base bytestring containers data-accessor network network-transport
13 ];
10 ];
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "http://haskell-distributed.github.com";
14 homepage = "http://haskell-distributed.github.com";
18 description = "TCP instantiation of Network.Transport";
15 description = "TCP instantiation of Network.Transport";
19 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
20−}
17+}
test/golden-test-cases/nix-paths.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, fetchurl, nix, process }:
1+{ mkDerivation, base, nix, process, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "nix-paths";
3 pname = "nix-paths";
4 version = "1.0.1";
4 version = "1.0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base process ];
6 libraryHaskellDepends = [ base process ];
10 libraryToolDepends = [ nix ];
7 libraryToolDepends = [ nix ];
11 homepage = "https://github.com/peti/nix-paths";
8 homepage = "https://github.com/peti/nix-paths";
12 description = "Knowledge of Nix's installation directories";
9 description = "Knowledge of Nix's installation directories";
13 license = stdenv.lib.licenses.bsd3;
10 license = stdenv.lib.licenses.bsd3;
14−}
11+}
test/golden-test-cases/nvim-hs.nix.golden+6−9
@@ -1,9 +1,9 @@
1{ mkDerivation, ansi-wl-pprint, base, bytestring, cereal
1{ mkDerivation, ansi-wl-pprint, base, bytestring, cereal
2, cereal-conduit, conduit, conduit-extra, containers, data-default
2, cereal-conduit, conduit, conduit-extra, containers, data-default
3−, deepseq, directory, dyre, exceptions, fetchurl, filepath
3+, deepseq, directory, dyre, exceptions, filepath, foreign-store
4−, foreign-store, hslogger, hspec, hspec-discover, HUnit
4+, hslogger, hspec, hspec-discover, HUnit, lifted-base, megaparsec
5−, lifted-base, megaparsec, messagepack, monad-control, mtl, network
5+, messagepack, monad-control, mtl, network, optparse-applicative
6−, optparse-applicative, process, QuickCheck, resourcet, setenv, stm
6+, process, QuickCheck, resourcet, setenv, stdenv, stm
7, streaming-commons, template-haskell, text, time
7, streaming-commons, template-haskell, text, time
8, time-locale-compat, transformers, transformers-base, utf8-string
8, time-locale-compat, transformers, transformers-base, utf8-string
9, void
9, void
@@ -11,10 +11,7 @@
11mkDerivation {
11mkDerivation {
12 pname = "nvim-hs";
12 pname = "nvim-hs";
13 version = "0.2.5";
13 version = "0.2.5";
14− src = fetchurl {
15− url = "http://example.org/";
16− sha256 = "abc";
14+ sha256 = "deadbeef";
17− };
18 isLibrary = true;
15 isLibrary = true;
19 isExecutable = true;
16 isExecutable = true;
20 libraryHaskellDepends = [
17 libraryHaskellDepends = [
@@ -38,4 +35,4 @@ mkDerivation {
38 homepage = "https://github.com/neovimhaskell/nvim-hs";
35 homepage = "https://github.com/neovimhaskell/nvim-hs";
39 description = "Haskell plugin backend for neovim";
36 description = "Haskell plugin backend for neovim";
40 license = stdenv.lib.licenses.asl20;
37 license = stdenv.lib.licenses.asl20;
41−}
38+}
test/golden-test-cases/once.nix.golden+3−6
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, containers, fetchurl, hashable
1+{ mkDerivation, base, containers, hashable, stdenv
2, template-haskell, unordered-containers
2, template-haskell, unordered-containers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "once";
5 pname = "once";
6 version = "0.2";
6 version = "0.2";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base containers hashable template-haskell unordered-containers
9 base containers hashable template-haskell unordered-containers
13 ];
10 ];
14 homepage = "https://anonscm.debian.org/cgit/users/kaction-guest/haskell-once.git";
11 homepage = "https://anonscm.debian.org/cgit/users/kaction-guest/haskell-once.git";
15 description = "memoization for IO actions and functions";
12 description = "memoization for IO actions and functions";
16 license = stdenv.lib.licenses.gpl3;
13 license = stdenv.lib.licenses.gpl3;
17−}
14+}
test/golden-test-cases/one-liner.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bifunctors, contravariant, fetchurl, ghc-prim
1+{ mkDerivation, base, bifunctors, contravariant, ghc-prim, HUnit
2−, HUnit, profunctors, tagged, transformers
2+, profunctors, stdenv, tagged, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "one-liner";
5 pname = "one-liner";
6 version = "0.9.2";
6 version = "0.9.2";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base bifunctors contravariant ghc-prim profunctors tagged
9 base bifunctors contravariant ghc-prim profunctors tagged
13 transformers
10 transformers
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/sjoerdvisscher/one-liner";
13 homepage = "https://github.com/sjoerdvisscher/one-liner";
17 description = "Constraint-based generics";
14 description = "Constraint-based generics";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/online.nix.golden+3−6
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, fetchurl, foldl, numhask, protolude, tdigest
1+{ mkDerivation, base, foldl, numhask, protolude, stdenv, tdigest
2, vector, vector-algorithms
2, vector, vector-algorithms
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "online";
5 pname = "online";
6 version = "0.2.0";
6 version = "0.2.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base foldl numhask protolude tdigest vector vector-algorithms
9 base foldl numhask protolude tdigest vector vector-algorithms
13 ];
10 ];
14 homepage = "https://github.com/tonyday567/online";
11 homepage = "https://github.com/tonyday567/online";
15 description = "online statistics";
12 description = "online statistics";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/openexr-write.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, base, binary, bytestring, data-binary-ieee754
1{ mkDerivation, base, binary, bytestring, data-binary-ieee754
2−, deepseq, directory, fetchurl, hspec, split, vector, vector-split
2+, deepseq, directory, hspec, split, stdenv, vector, vector-split
3, zlib
3, zlib
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "openexr-write";
6 pname = "openexr-write";
7 version = "0.1.0.1";
7 version = "0.1.0.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 base binary bytestring data-binary-ieee754 deepseq split vector
10 base binary bytestring data-binary-ieee754 deepseq split vector
14 vector-split zlib
11 vector-split zlib
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "https://github.com/pavolzetor/openexr-write#readme";
14 homepage = "https://github.com/pavolzetor/openexr-write#readme";
18 description = "Library for writing images in OpenEXR HDR file format";
15 description = "Library for writing images in OpenEXR HDR file format";
19 license = stdenv.lib.licenses.gpl3;
16 license = stdenv.lib.licenses.gpl3;
20−}
17+}
test/golden-test-cases/openpgp-asciiarmor.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, attoparsec, base, base64-bytestring, bytestring
1{ mkDerivation, attoparsec, base, base64-bytestring, bytestring
2−, cereal, fetchurl, HUnit, test-framework, test-framework-hunit
2+, cereal, HUnit, stdenv, test-framework, test-framework-hunit
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "openpgp-asciiarmor";
5 pname = "openpgp-asciiarmor";
6 version = "0.1";
6 version = "0.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 attoparsec base base64-bytestring bytestring cereal
9 attoparsec base base64-bytestring bytestring cereal
13 ];
10 ];
@@ -18,4 +15,4 @@ mkDerivation {
18 homepage = "http://floss.scru.org/openpgp-asciiarmor";
15 homepage = "http://floss.scru.org/openpgp-asciiarmor";
19 description = "OpenPGP (RFC4880) ASCII Armor codec";
16 description = "OpenPGP (RFC4880) ASCII Armor codec";
20 license = "unknown";
17 license = "unknown";
21−}
18+}
test/golden-test-cases/pager.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, base, bytestring, conduit, conduit-extra, directory
1{ mkDerivation, base, bytestring, conduit, conduit-extra, directory
2−, fetchurl, process, resourcet, safe, terminfo, text, transformers
2+, process, resourcet, safe, stdenv, terminfo, text, transformers
3, unix
3, unix
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "pager";
6 pname = "pager";
7 version = "0.1.1.0";
7 version = "0.1.1.0";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 isLibrary = true;
9 isLibrary = true;
13 isExecutable = true;
10 isExecutable = true;
14 enableSeparateDataOutput = true;
11 enableSeparateDataOutput = true;
@@ -20,4 +17,4 @@ mkDerivation {
20 homepage = "https://github.com/pharpend/pager";
17 homepage = "https://github.com/pharpend/pager";
21 description = "Open up a pager, like 'less' or 'more'";
18 description = "Open up a pager, like 'less' or 'more'";
22 license = stdenv.lib.licenses.bsd2;
19 license = stdenv.lib.licenses.bsd2;
23−}
20+}
test/golden-test-cases/partial-isomorphisms.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, template-haskell }:
1+{ mkDerivation, base, stdenv, template-haskell }:
2mkDerivation {
2mkDerivation {
3 pname = "partial-isomorphisms";
3 pname = "partial-isomorphisms";
4 version = "0.2.2.1";
4 version = "0.2.2.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base template-haskell ];
6 libraryHaskellDepends = [ base template-haskell ];
10 homepage = "http://www.informatik.uni-marburg.de/~rendel/unparse";
7 homepage = "http://www.informatik.uni-marburg.de/~rendel/unparse";
11 description = "Partial isomorphisms";
8 description = "Partial isomorphisms";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/partial-semigroup.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, doctest, fetchurl, hedgehog }:
1+{ mkDerivation, base, doctest, hedgehog, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "partial-semigroup";
3 pname = "partial-semigroup";
4 version = "0.3.0.2";
4 version = "0.3.0.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 testHaskellDepends = [ base doctest hedgehog ];
7 testHaskellDepends = [ base doctest hedgehog ];
11 homepage = "https://github.com/chris-martin/partial-semigroup";
8 homepage = "https://github.com/chris-martin/partial-semigroup";
12 description = "A partial binary associative operator";
9 description = "A partial binary associative operator";
13 license = stdenv.lib.licenses.asl20;
10 license = stdenv.lib.licenses.asl20;
14−}
11+}
test/golden-test-cases/pathtype.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, deepseq, directory, fetchurl, old-time
1+{ mkDerivation, base, deepseq, directory, old-time, QuickCheck
2−, QuickCheck, random, tagged, time, transformers, utility-ht
2+, random, stdenv, tagged, time, transformers, utility-ht
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "pathtype";
5 pname = "pathtype";
6 version = "0.8";
6 version = "0.8";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = true;
8 isLibrary = true;
12 isExecutable = true;
9 isExecutable = true;
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
@@ -18,4 +15,4 @@ mkDerivation {
18 homepage = "http://hub.darcs.net/thielema/pathtype/";
15 homepage = "http://hub.darcs.net/thielema/pathtype/";
19 description = "Type-safe replacement for System.FilePath etc";
16 description = "Type-safe replacement for System.FilePath etc";
20 license = stdenv.lib.licenses.bsd3;
17 license = stdenv.lib.licenses.bsd3;
21−}
18+}
test/golden-test-cases/pcap.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, fetchurl, network, time }:
1+{ mkDerivation, base, bytestring, network, stdenv, time }:
2mkDerivation {
2mkDerivation {
3 pname = "pcap";
3 pname = "pcap";
4 version = "0.4.5.2";
4 version = "0.4.5.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base bytestring network time ];
6 libraryHaskellDepends = [ base bytestring network time ];
10 homepage = "https://github.com/bos/pcap";
7 homepage = "https://github.com/bos/pcap";
11 description = "A system-independent interface for user-level packet capture";
8 description = "A system-independent interface for user-level packet capture";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/pdfinfo.nix.golden+4−7
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, fetchurl, mtl, old-locale, process-extras
1+{ mkDerivation, base, mtl, old-locale, process-extras, stdenv, text
2−, text, time, time-locale-compat
2+, time, time-locale-compat
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "pdfinfo";
5 pname = "pdfinfo";
6 version = "1.5.4";
6 version = "1.5.4";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base mtl old-locale process-extras text time time-locale-compat
9 base mtl old-locale process-extras text time time-locale-compat
13 ];
10 ];
14 homepage = "https://github.com/chrisdone/pdfinfo";
11 homepage = "https://github.com/chrisdone/pdfinfo";
15 description = "Wrapper around the pdfinfo command";
12 description = "Wrapper around the pdfinfo command";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/pell.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, arithmoi, base, Cabal, cabal-test-quickcheck
1{ mkDerivation, arithmoi, base, Cabal, cabal-test-quickcheck
2−, containers, fetchurl, primes, QuickCheck
2+, containers, primes, QuickCheck, stdenv
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "pell";
5 pname = "pell";
6 version = "0.1.1.0";
6 version = "0.1.1.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ arithmoi base containers ];
8 libraryHaskellDepends = [ arithmoi base containers ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 arithmoi base Cabal cabal-test-quickcheck containers primes
10 arithmoi base Cabal cabal-test-quickcheck containers primes
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/brunjlar/pell";
13 homepage = "https://github.com/brunjlar/pell";
17 description = "Package to solve the Generalized Pell Equation";
14 description = "Package to solve the Generalized Pell Equation";
18 license = stdenv.lib.licenses.mit;
15 license = stdenv.lib.licenses.mit;
19−}
16+}
test/golden-test-cases/persistable-types-HDBC-pg.nix.golden+5−7
@@ -1,13 +1,11 @@
1−{ mkDerivation, base, bytestring, convertible, fetchurl, HDBC
1+{ mkDerivation, base, bytestring, convertible, HDBC
2−, persistable-record, relational-query-HDBC, text-postgresql
2+, persistable-record, relational-query-HDBC, stdenv
3+, text-postgresql
3}:
4}:
4mkDerivation {
5mkDerivation {
5 pname = "persistable-types-HDBC-pg";
6 pname = "persistable-types-HDBC-pg";
6 version = "0.0.1.5";
7 version = "0.0.1.5";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
8+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
9 libraryHaskellDepends = [
12 base bytestring convertible HDBC persistable-record
10 base bytestring convertible HDBC persistable-record
13 relational-query-HDBC text-postgresql
11 relational-query-HDBC text-postgresql
@@ -15,4 +13,4 @@ mkDerivation {
15 homepage = "http://khibino.github.io/haskell-relational-record/";
13 homepage = "http://khibino.github.io/haskell-relational-record/";
16 description = "HDBC and Relational-Record instances of PostgreSQL extended types";
14 description = "HDBC and Relational-Record instances of PostgreSQL extended types";
17 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
18−}
16+}
test/golden-test-cases/persistent-mysql-haskell.nix.golden+5−8
@@ -1,15 +1,12 @@
1{ mkDerivation, aeson, base, bytestring, conduit, containers
1{ mkDerivation, aeson, base, bytestring, conduit, containers
2−, fetchurl, io-streams, monad-control, monad-logger, mysql-haskell
2+, io-streams, monad-control, monad-logger, mysql-haskell, network
3−, network, persistent, persistent-template, resource-pool
3+, persistent, persistent-template, resource-pool, resourcet, stdenv
4−, resourcet, text, time, tls, transformers
4+, text, time, tls, transformers
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "persistent-mysql-haskell";
7 pname = "persistent-mysql-haskell";
8 version = "0.3.6";
8 version = "0.3.6";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 isLibrary = true;
10 isLibrary = true;
14 isExecutable = true;
11 isExecutable = true;
15 libraryHaskellDepends = [
12 libraryHaskellDepends = [
@@ -23,4 +20,4 @@ mkDerivation {
23 homepage = "http://www.yesodweb.com/book/persistent";
20 homepage = "http://www.yesodweb.com/book/persistent";
24 description = "A pure haskell backend for the persistent library using MySQL database server";
21 description = "A pure haskell backend for the persistent library using MySQL database server";
25 license = stdenv.lib.licenses.mit;
22 license = stdenv.lib.licenses.mit;
26−}
23+}
test/golden-test-cases/picosat.nix.golden+3−6
@@ -1,16 +1,13 @@
1−{ mkDerivation, base, containers, fetchurl, random, rdtsc
1+{ mkDerivation, base, containers, random, rdtsc, stdenv
2, transformers
2, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "picosat";
5 pname = "picosat";
6 version = "0.1.4";
6 version = "0.1.4";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base containers transformers ];
8 libraryHaskellDepends = [ base containers transformers ];
12 testHaskellDepends = [ base containers random rdtsc transformers ];
9 testHaskellDepends = [ base containers random rdtsc transformers ];
13 homepage = "https://github.com/sdiehl/haskell-picosat";
10 homepage = "https://github.com/sdiehl/haskell-picosat";
14 description = "Bindings to the PicoSAT solver";
11 description = "Bindings to the PicoSAT solver";
15 license = stdenv.lib.licenses.mit;
12 license = stdenv.lib.licenses.mit;
16−}
13+}
test/golden-test-cases/pinch.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, array, base, bytestring, containers, deepseq
1{ mkDerivation, array, base, bytestring, containers, deepseq
2−, fetchurl, ghc-prim, hashable, hspec, hspec-discover, QuickCheck
2+, ghc-prim, hashable, hspec, hspec-discover, QuickCheck, stdenv
3, text, unordered-containers, vector
3, text, unordered-containers, vector
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "pinch";
6 pname = "pinch";
7 version = "0.3.2.0";
7 version = "0.3.2.0";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 array base bytestring containers deepseq ghc-prim hashable text
10 array base bytestring containers deepseq ghc-prim hashable text
14 unordered-containers vector
11 unordered-containers vector
@@ -20,4 +17,4 @@ mkDerivation {
20 homepage = "https://github.com/abhinav/pinch#readme";
17 homepage = "https://github.com/abhinav/pinch#readme";
21 description = "An alternative implementation of Thrift for Haskell";
18 description = "An alternative implementation of Thrift for Haskell";
22 license = stdenv.lib.licenses.bsd3;
19 license = stdenv.lib.licenses.bsd3;
23−}
20+}
test/golden-test-cases/pipes-network.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, fetchurl, network, network-simple
1+{ mkDerivation, base, bytestring, network, network-simple, pipes
2−, pipes, pipes-safe, transformers
2+, pipes-safe, stdenv, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "pipes-network";
5 pname = "pipes-network";
6 version = "0.6.4.1";
6 version = "0.6.4.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base bytestring network network-simple pipes pipes-safe
9 base bytestring network network-simple pipes pipes-safe
13 transformers
10 transformers
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/k0001/pipes-network";
12 homepage = "https://github.com/k0001/pipes-network";
16 description = "Use network sockets together with the pipes library";
13 description = "Use network sockets together with the pipes library";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/pipes-safe.nix.golden+4−8
@@ -1,18 +1,14 @@
1−{ mkDerivation, base, containers, exceptions, fetchurl
1+{ mkDerivation, base, containers, exceptions, monad-control, mtl
2−, monad-control, mtl, pipes, primitive, transformers
2+, pipes, primitive, stdenv, transformers, transformers-base
3−, transformers-base
4}:
3}:
5mkDerivation {
4mkDerivation {
6 pname = "pipes-safe";
5 pname = "pipes-safe";
7 version = "2.2.6";
6 version = "2.2.6";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
7+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
8 libraryHaskellDepends = [
13 base containers exceptions monad-control mtl pipes primitive
9 base containers exceptions monad-control mtl pipes primitive
14 transformers transformers-base
10 transformers transformers-base
15 ];
11 ];
16 description = "Safety for the pipes ecosystem";
12 description = "Safety for the pipes ecosystem";
17 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
18−}
14+}
test/golden-test-cases/pointed.nix.golden+4−8
@@ -1,15 +1,11 @@
1{ mkDerivation, base, comonad, containers, data-default-class
1{ mkDerivation, base, comonad, containers, data-default-class
2−, fetchurl, hashable, kan-extensions, semigroupoids, semigroups
2+, hashable, kan-extensions, semigroupoids, semigroups, stdenv, stm
3−, stm, tagged, transformers, transformers-compat
3+, tagged, transformers, transformers-compat, unordered-containers
4−, unordered-containers
5}:
4}:
6mkDerivation {
5mkDerivation {
7 pname = "pointed";
6 pname = "pointed";
8 version = "5";
7 version = "5";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
8+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
9 libraryHaskellDepends = [
14 base comonad containers data-default-class hashable kan-extensions
10 base comonad containers data-default-class hashable kan-extensions
15 semigroupoids semigroups stm tagged transformers
11 semigroupoids semigroups stm tagged transformers
@@ -18,4 +14,4 @@ mkDerivation {
18 homepage = "http://github.com/ekmett/pointed/";
14 homepage = "http://github.com/ekmett/pointed/";
19 description = "Pointed and copointed data";
15 description = "Pointed and copointed data";
20 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
21−}
17+}
test/golden-test-cases/poly-arity.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, constraints, fetchurl }:
1+{ mkDerivation, base, constraints, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "poly-arity";
3 pname = "poly-arity";
4 version = "0.1.0";
4 version = "0.1.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base constraints ];
6 libraryHaskellDepends = [ base constraints ];
10 description = "Tools for working with functions of undetermined arity";
7 description = "Tools for working with functions of undetermined arity";
11 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
12−}
9+}
test/golden-test-cases/polynomials-bernstein.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, fetchurl, vector }:
1+{ mkDerivation, base, stdenv, vector }:
2mkDerivation {
2mkDerivation {
3 pname = "polynomials-bernstein";
3 pname = "polynomials-bernstein";
4 version = "1.1.2";
4 version = "1.1.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base vector ];
6 libraryHaskellDepends = [ base vector ];
10 description = "A solver for systems of polynomial equations in bernstein form";
7 description = "A solver for systems of polynomial equations in bernstein form";
11 license = "GPL";
8 license = "GPL";
12−}
9+}
test/golden-test-cases/postgresql-simple-url.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, network-uri, postgresql-simple
1+{ mkDerivation, base, network-uri, postgresql-simple, split, stdenv
2−, split, tasty, tasty-quickcheck
2+, tasty, tasty-quickcheck
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "postgresql-simple-url";
5 pname = "postgresql-simple-url";
6 version = "0.2.0.0";
6 version = "0.2.0.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base network-uri postgresql-simple split
9 base network-uri postgresql-simple split
13 ];
10 ];
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "https://github.com/futurice/postgresql-simple-url";
14 homepage = "https://github.com/futurice/postgresql-simple-url";
18 description = "Parse postgres:// url into ConnectInfo";
15 description = "Parse postgres:// url into ConnectInfo";
19 license = stdenv.lib.licenses.mit;
16 license = stdenv.lib.licenses.mit;
20−}
17+}
test/golden-test-cases/prelude-safeenum.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "prelude-safeenum";
3 pname = "prelude-safeenum";
4 version = "0.1.1.2";
4 version = "0.1.1.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 homepage = "http://code.haskell.org/~wren/";
7 homepage = "http://code.haskell.org/~wren/";
11 description = "A redefinition of the Prelude's Enum class in order to render it safe";
8 description = "A redefinition of the Prelude's Enum class in order to render it safe";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/presburger.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, containers, fetchurl, pretty, QuickCheck }:
1+{ mkDerivation, base, containers, pretty, QuickCheck, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "presburger";
3 pname = "presburger";
4 version = "1.3.1";
4 version = "1.3.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base containers pretty ];
6 libraryHaskellDepends = [ base containers pretty ];
10 testHaskellDepends = [ base QuickCheck ];
7 testHaskellDepends = [ base QuickCheck ];
11 homepage = "http://github.com/yav/presburger";
8 homepage = "http://github.com/yav/presburger";
12 description = "A decision procedure for quantifier-free linear arithmetic";
9 description = "A decision procedure for quantifier-free linear arithmetic";
13 license = stdenv.lib.licenses.bsd3;
10 license = stdenv.lib.licenses.bsd3;
14−}
11+}
test/golden-test-cases/prettyclass.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, fetchurl, pretty }:
1+{ mkDerivation, base, pretty, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "prettyclass";
3 pname = "prettyclass";
4 version = "1.0.0.0";
4 version = "1.0.0.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base pretty ];
6 libraryHaskellDepends = [ base pretty ];
10 description = "Pretty printing class similar to Show";
7 description = "Pretty printing class similar to Show";
11 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
12−}
9+}
test/golden-test-cases/prettyprinter-compat-ansi-wl-pprint.nix.golden+4−7
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, fetchurl, prettyprinter
1+{ mkDerivation, base, prettyprinter, prettyprinter-ansi-terminal
2−, prettyprinter-ansi-terminal, text
2+, stdenv, text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "prettyprinter-compat-ansi-wl-pprint";
5 pname = "prettyprinter-compat-ansi-wl-pprint";
6 version = "1.0.1";
6 version = "1.0.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base prettyprinter prettyprinter-ansi-terminal text
9 base prettyprinter prettyprinter-ansi-terminal text
13 ];
10 ];
14 homepage = "http://github.com/quchen/prettyprinter";
11 homepage = "http://github.com/quchen/prettyprinter";
15 description = "Drop-in compatibility package to migrate from »ansi-wl-pprint« to »prettyprinter«";
12 description = "Drop-in compatibility package to migrate from »ansi-wl-pprint« to »prettyprinter«";
16 license = stdenv.lib.licenses.bsd2;
13 license = stdenv.lib.licenses.bsd2;
17−}
14+}
test/golden-test-cases/prettyprinter-compat-wl-pprint.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, prettyprinter, text }:
1+{ mkDerivation, base, prettyprinter, stdenv, text }:
2mkDerivation {
2mkDerivation {
3 pname = "prettyprinter-compat-wl-pprint";
3 pname = "prettyprinter-compat-wl-pprint";
4 version = "1.0.0.1";
4 version = "1.0.0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base prettyprinter text ];
6 libraryHaskellDepends = [ base prettyprinter text ];
10 homepage = "http://github.com/quchen/prettyprinter";
7 homepage = "http://github.com/quchen/prettyprinter";
11 description = "Prettyprinter compatibility module for previous users of the wl-pprint package";
8 description = "Prettyprinter compatibility module for previous users of the wl-pprint package";
12 license = stdenv.lib.licenses.bsd2;
9 license = stdenv.lib.licenses.bsd2;
13−}
10+}
test/golden-test-cases/primitive.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, fetchurl, ghc-prim, transformers }:
1+{ mkDerivation, base, ghc-prim, stdenv, transformers }:
2mkDerivation {
2mkDerivation {
3 pname = "primitive";
3 pname = "primitive";
4 version = "0.6.2.0";
4 version = "0.6.2.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ghc-prim transformers ];
6 libraryHaskellDepends = [ base ghc-prim transformers ];
10 testHaskellDepends = [ base ghc-prim ];
7 testHaskellDepends = [ base ghc-prim ];
11 homepage = "https://github.com/haskell/primitive";
8 homepage = "https://github.com/haskell/primitive";
12 description = "Primitive memory-related operations";
9 description = "Primitive memory-related operations";
13 license = stdenv.lib.licenses.bsd3;
10 license = stdenv.lib.licenses.bsd3;
14−}
11+}
test/golden-test-cases/product-profunctors.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, contravariant, fetchurl, profunctors, tagged
1+{ mkDerivation, base, contravariant, profunctors, stdenv, tagged
2, template-haskell
2, template-haskell
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "product-profunctors";
5 pname = "product-profunctors";
6 version = "0.8.0.3";
6 version = "0.8.0.3";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base contravariant profunctors tagged template-haskell
9 base contravariant profunctors tagged template-haskell
13 ];
10 ];
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/tomjaguarpaw/product-profunctors";
12 homepage = "https://github.com/tomjaguarpaw/product-profunctors";
16 description = "product-profunctors";
13 description = "product-profunctors";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/profiterole.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, containers, directory, extra, fetchurl
1+{ mkDerivation, base, containers, directory, extra, filepath
2−, filepath, ghc-prof, hashable, scientific, text
2+, ghc-prof, hashable, scientific, stdenv, text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "profiterole";
5 pname = "profiterole";
6 version = "0.1";
6 version = "0.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = false;
8 isLibrary = false;
12 isExecutable = true;
9 isExecutable = true;
13 executableHaskellDepends = [
10 executableHaskellDepends = [
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "https://github.com/ndmitchell/profiterole#readme";
14 homepage = "https://github.com/ndmitchell/profiterole#readme";
18 description = "Restructure GHC profile reports";
15 description = "Restructure GHC profile reports";
19 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
20−}
17+}
test/golden-test-cases/projectroot.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, directory, fetchurl, hspec, QuickCheck }:
1+{ mkDerivation, base, directory, hspec, QuickCheck, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "projectroot";
3 pname = "projectroot";
4 version = "0.2.0.1";
4 version = "0.2.0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base directory ];
6 libraryHaskellDepends = [ base directory ];
10 testHaskellDepends = [ base hspec QuickCheck ];
7 testHaskellDepends = [ base hspec QuickCheck ];
11 homepage = "https://github.com/yamadapc/haskell-projectroot";
8 homepage = "https://github.com/yamadapc/haskell-projectroot";
12 description = "Bindings to the projectroot C logic";
9 description = "Bindings to the projectroot C logic";
13 license = stdenv.lib.licenses.mit;
10 license = stdenv.lib.licenses.mit;
14−}
11+}
test/golden-test-cases/proto-lens-optparse.nix.golden+3−6
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, fetchurl, optparse-applicative, proto-lens
1+{ mkDerivation, base, optparse-applicative, proto-lens, stdenv
2, text
2, text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "proto-lens-optparse";
5 pname = "proto-lens-optparse";
6 version = "0.1.0.4";
6 version = "0.1.0.4";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base optparse-applicative proto-lens text
9 base optparse-applicative proto-lens text
13 ];
10 ];
14 homepage = "https://github.com/google/proto-lens";
11 homepage = "https://github.com/google/proto-lens";
15 description = "Adapting proto-lens to optparse-applicative ReadMs";
12 description = "Adapting proto-lens to optparse-applicative ReadMs";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/proto-lens.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, attoparsec, base, bytestring, containers
1{ mkDerivation, attoparsec, base, bytestring, containers
2−, data-default-class, fetchurl, lens-family, parsec, pretty, text
2+, data-default-class, lens-family, parsec, pretty, stdenv, text
3, transformers, void
3, transformers, void
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "proto-lens";
6 pname = "proto-lens";
7 version = "0.2.2.0";
7 version = "0.2.2.0";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 attoparsec base bytestring containers data-default-class
10 attoparsec base bytestring containers data-default-class
14 lens-family parsec pretty text transformers void
11 lens-family parsec pretty text transformers void
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/google/proto-lens";
13 homepage = "https://github.com/google/proto-lens";
17 description = "A lens-based implementation of protocol buffers in Haskell";
14 description = "A lens-based implementation of protocol buffers in Haskell";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/psqueues.nix.golden+4−7
@@ -1,16 +1,13 @@
1{ mkDerivation, array, base, containers, criterion, deepseq
1{ mkDerivation, array, base, containers, criterion, deepseq
2−, fetchurl, fingertree-psqueue, ghc-prim, hashable, HUnit, mtl
2+, fingertree-psqueue, ghc-prim, hashable, HUnit, mtl, PSQueue
3−, PSQueue, QuickCheck, random, tagged, test-framework
3+, QuickCheck, random, stdenv, tagged, test-framework
4, test-framework-hunit, test-framework-quickcheck2
4, test-framework-hunit, test-framework-quickcheck2
5, unordered-containers
5, unordered-containers
6}:
6}:
7mkDerivation {
7mkDerivation {
8 pname = "psqueues";
8 pname = "psqueues";
9 version = "0.2.4.0";
9 version = "0.2.4.0";
10− src = fetchurl {
11− url = "http://example.org/";
12− sha256 = "abc";
10+ sha256 = "deadbeef";
13− };
14 libraryHaskellDepends = [ base deepseq ghc-prim hashable ];
11 libraryHaskellDepends = [ base deepseq ghc-prim hashable ];
15 testHaskellDepends = [
12 testHaskellDepends = [
16 array base deepseq ghc-prim hashable HUnit QuickCheck tagged
13 array base deepseq ghc-prim hashable HUnit QuickCheck tagged
@@ -22,4 +19,4 @@ mkDerivation {
22 ];
19 ];
23 description = "Pure priority search queues";
20 description = "Pure priority search queues";
24 license = stdenv.lib.licenses.bsd3;
21 license = stdenv.lib.licenses.bsd3;
25−}
22+}
test/golden-test-cases/pusher-http-haskell.nix.golden+4−7
@@ -1,15 +1,12 @@
1{ mkDerivation, aeson, base, base16-bytestring, bytestring
1{ mkDerivation, aeson, base, base16-bytestring, bytestring
2−, cryptonite, fetchurl, hashable, hspec, http-client, http-types
2+, cryptonite, hashable, hspec, http-client, http-types, memory
3−, memory, QuickCheck, scientific, text, time, transformers
3+, QuickCheck, scientific, stdenv, text, time, transformers
4, unordered-containers, vector
4, unordered-containers, vector
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "pusher-http-haskell";
7 pname = "pusher-http-haskell";
8 version = "1.5.1.0";
8 version = "1.5.1.0";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
14 aeson base base16-bytestring bytestring cryptonite hashable
11 aeson base base16-bytestring bytestring cryptonite hashable
15 http-client http-types memory text time transformers
12 http-client http-types memory text time transformers
@@ -23,4 +20,4 @@ mkDerivation {
23 homepage = "https://github.com/pusher-community/pusher-http-haskell";
20 homepage = "https://github.com/pusher-community/pusher-http-haskell";
24 description = "Haskell client library for the Pusher HTTP API";
21 description = "Haskell client library for the Pusher HTTP API";
25 license = stdenv.lib.licenses.mit;
22 license = stdenv.lib.licenses.mit;
26−}
23+}
test/golden-test-cases/quickcheck-arbitrary-adt.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, hspec, lens, QuickCheck
1+{ mkDerivation, base, hspec, lens, QuickCheck, stdenv
2, template-haskell, transformers
2, template-haskell, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "quickcheck-arbitrary-adt";
5 pname = "quickcheck-arbitrary-adt";
6 version = "0.2.0.0";
6 version = "0.2.0.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base QuickCheck ];
8 libraryHaskellDepends = [ base QuickCheck ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 base hspec lens QuickCheck template-haskell transformers
10 base hspec lens QuickCheck template-haskell transformers
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/plow-technologies/quickcheck-arbitrary-adt#readme";
12 homepage = "https://github.com/plow-technologies/quickcheck-arbitrary-adt#readme";
16 description = "Generic typeclasses for generating arbitrary ADTs";
13 description = "Generic typeclasses for generating arbitrary ADTs";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/quickcheck-combinators.nix.golden+3−7
@@ -1,13 +1,9 @@
1−{ mkDerivation, base, fetchurl, QuickCheck, unfoldable-restricted
1+{ mkDerivation, base, QuickCheck, stdenv, unfoldable-restricted }:
2−}:
3mkDerivation {
2mkDerivation {
4 pname = "quickcheck-combinators";
3 pname = "quickcheck-combinators";
5 version = "0.0.2";
4 version = "0.0.2";
6− src = fetchurl {
7− url = "http://example.org/";
8− sha256 = "abc";
5+ sha256 = "deadbeef";
9− };
10 libraryHaskellDepends = [ base QuickCheck unfoldable-restricted ];
6 libraryHaskellDepends = [ base QuickCheck unfoldable-restricted ];
11 description = "Simple type-level combinators for augmenting QuickCheck instances";
7 description = "Simple type-level combinators for augmenting QuickCheck instances";
12 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
13−}
9+}
test/golden-test-cases/rank1dynamic.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, binary, fetchurl, HUnit, test-framework
1+{ mkDerivation, base, binary, HUnit, stdenv, test-framework
2, test-framework-hunit
2, test-framework-hunit
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "rank1dynamic";
5 pname = "rank1dynamic";
6 version = "0.4.0";
6 version = "0.4.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base binary ];
8 libraryHaskellDepends = [ base binary ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 base HUnit test-framework test-framework-hunit
10 base HUnit test-framework test-framework-hunit
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "http://haskell-distributed.github.com";
12 homepage = "http://haskell-distributed.github.com";
16 description = "Like Data.Dynamic/Data.Typeable but with support for rank-1 polymorphic types";
13 description = "Like Data.Dynamic/Data.Typeable but with support for rank-1 polymorphic types";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/rasterific-svg.nix.golden+5−8
@@ -1,15 +1,12 @@
1{ mkDerivation, base, binary, bytestring, containers, directory
1{ mkDerivation, base, binary, bytestring, containers, directory
2−, fetchurl, filepath, FontyFruity, JuicyPixels, lens, linear, mtl
2+, filepath, FontyFruity, JuicyPixels, lens, linear, mtl
3−, optparse-applicative, primitive, Rasterific, scientific, svg-tree
3+, optparse-applicative, primitive, Rasterific, scientific, stdenv
4−, text, transformers, vector
4+, svg-tree, text, transformers, vector
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "rasterific-svg";
7 pname = "rasterific-svg";
8 version = "0.3.3";
8 version = "0.3.3";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 isLibrary = true;
10 isLibrary = true;
14 isExecutable = true;
11 isExecutable = true;
15 libraryHaskellDepends = [
12 libraryHaskellDepends = [
@@ -23,4 +20,4 @@ mkDerivation {
23 ];
20 ];
24 description = "SVG renderer based on Rasterific";
21 description = "SVG renderer based on Rasterific";
25 license = stdenv.lib.licenses.bsd3;
22 license = stdenv.lib.licenses.bsd3;
26−}
23+}
test/golden-test-cases/ratio-int.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "ratio-int";
3 pname = "ratio-int";
4 version = "0.1.2";
4 version = "0.1.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 homepage = "https://github.com/RaphaelJ/ratio-int";
7 homepage = "https://github.com/RaphaelJ/ratio-int";
11 description = "Fast specialisation of Data.Ratio for Int.";
8 description = "Fast specialisation of Data.Ratio for Int.";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/rawstring-qm.nix.golden+3−7
@@ -1,14 +1,10 @@
1−{ mkDerivation, base, bytestring, fetchurl, template-haskell, text
1+{ mkDerivation, base, bytestring, stdenv, template-haskell, text }:
2−}:
3mkDerivation {
2mkDerivation {
4 pname = "rawstring-qm";
3 pname = "rawstring-qm";
5 version = "0.2.3.0";
4 version = "0.2.3.0";
6− src = fetchurl {
7− url = "http://example.org/";
8− sha256 = "abc";
5+ sha256 = "deadbeef";
9− };
10 libraryHaskellDepends = [ base bytestring template-haskell text ];
6 libraryHaskellDepends = [ base bytestring template-haskell text ];
11 homepage = "https://github.com/tolysz/rawstring-qm";
7 homepage = "https://github.com/tolysz/rawstring-qm";
12 description = "Simple raw string quotation and dictionary interpolation";
8 description = "Simple raw string quotation and dictionary interpolation";
13 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
14−}
10+}
test/golden-test-cases/reactive-banana.nix.golden+4−7
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, containers, fetchurl, hashable, HUnit, pqueue
1+{ mkDerivation, base, containers, hashable, HUnit, pqueue, psqueues
2−, psqueues, test-framework, test-framework-hunit, transformers
2+, stdenv, test-framework, test-framework-hunit, transformers
3, unordered-containers, vault
3, unordered-containers, vault
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "reactive-banana";
6 pname = "reactive-banana";
7 version = "1.1.0.1";
7 version = "1.1.0.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 base containers hashable pqueue transformers unordered-containers
10 base containers hashable pqueue transformers unordered-containers
14 vault
11 vault
@@ -20,4 +17,4 @@ mkDerivation {
20 homepage = "http://wiki.haskell.org/Reactive-banana";
17 homepage = "http://wiki.haskell.org/Reactive-banana";
21 description = "Library for functional reactive programming (FRP)";
18 description = "Library for functional reactive programming (FRP)";
22 license = stdenv.lib.licenses.bsd3;
19 license = stdenv.lib.licenses.bsd3;
23−}
20+}
test/golden-test-cases/readline.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, ncurses, process, readline }:
1+{ mkDerivation, base, ncurses, process, readline, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "readline";
3 pname = "readline";
4 version = "1.0.3.0";
4 version = "1.0.3.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base process ];
6 libraryHaskellDepends = [ base process ];
10 librarySystemDepends = [ ncurses readline ];
7 librarySystemDepends = [ ncurses readline ];
11 description = "An interface to the GNU readline library";
8 description = "An interface to the GNU readline library";
12 license = "GPL";
9 license = "GPL";
13−}
10+}
test/golden-test-cases/rebase.nix.golden+4−7
@@ -1,16 +1,13 @@
1{ mkDerivation, base, base-prelude, bifunctors, bytestring
1{ mkDerivation, base, base-prelude, bifunctors, bytestring
2, containers, contravariant, contravariant-extras, deepseq, dlist
2, containers, contravariant, contravariant-extras, deepseq, dlist
3−, either, fail, fetchurl, hashable, mtl, profunctors, scientific
3+, either, fail, hashable, mtl, profunctors, scientific
4−, semigroupoids, semigroups, stm, text, time, transformers
4+, semigroupoids, semigroups, stdenv, stm, text, time, transformers
5, unordered-containers, uuid, vector, void
5, unordered-containers, uuid, vector, void
6}:
6}:
7mkDerivation {
7mkDerivation {
8 pname = "rebase";
8 pname = "rebase";
9 version = "1.1.1";
9 version = "1.1.1";
10− src = fetchurl {
11− url = "http://example.org/";
12− sha256 = "abc";
10+ sha256 = "deadbeef";
13− };
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
15 base base-prelude bifunctors bytestring containers contravariant
12 base base-prelude bifunctors bytestring containers contravariant
16 contravariant-extras deepseq dlist either fail hashable mtl
13 contravariant-extras deepseq dlist either fail hashable mtl
@@ -20,4 +17,4 @@ mkDerivation {
20 homepage = "https://github.com/nikita-volkov/rebase";
17 homepage = "https://github.com/nikita-volkov/rebase";
21 description = "A more progressive alternative to the \"base\" package";
18 description = "A more progressive alternative to the \"base\" package";
22 license = stdenv.lib.licenses.mit;
19 license = stdenv.lib.licenses.mit;
23−}
20+}
test/golden-test-cases/reform-blaze.nix.golden+3−6
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, blaze-html, blaze-markup, fetchurl, reform
1+{ mkDerivation, base, blaze-html, blaze-markup, reform, stdenv
2, text
2, text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "reform-blaze";
5 pname = "reform-blaze";
6 version = "0.2.4.3";
6 version = "0.2.4.3";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base blaze-html blaze-markup reform text
9 base blaze-html blaze-markup reform text
13 ];
10 ];
14 homepage = "http://www.happstack.com/";
11 homepage = "http://www.happstack.com/";
15 description = "Add support for using blaze-html with Reform";
12 description = "Add support for using blaze-html with Reform";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/reform-hsp.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, hsp, hsx2hs, reform, text }:
1+{ mkDerivation, base, hsp, hsx2hs, reform, stdenv, text }:
2mkDerivation {
2mkDerivation {
3 pname = "reform-hsp";
3 pname = "reform-hsp";
4 version = "0.2.7.1";
4 version = "0.2.7.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base hsp hsx2hs reform text ];
6 libraryHaskellDepends = [ base hsp hsx2hs reform text ];
10 homepage = "http://www.happstack.com/";
7 homepage = "http://www.happstack.com/";
11 description = "Add support for using HSP with Reform";
8 description = "Add support for using HSP with Reform";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/regex-compat.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, array, base, fetchurl, regex-base, regex-posix }:
1+{ mkDerivation, array, base, regex-base, regex-posix, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "regex-compat";
3 pname = "regex-compat";
4 version = "0.95.1";
4 version = "0.95.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ array base regex-base regex-posix ];
6 libraryHaskellDepends = [ array base regex-base regex-posix ];
10 homepage = "http://sourceforge.net/projects/lazy-regex";
7 homepage = "http://sourceforge.net/projects/lazy-regex";
11 description = "Replaces/Enhances Text.Regex";
8 description = "Replaces/Enhances Text.Regex";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/regex-pcre.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, array, base, bytestring, containers, fetchurl, pcre
1+{ mkDerivation, array, base, bytestring, containers, pcre
2−, regex-base
2+, regex-base, stdenv
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "regex-pcre";
5 pname = "regex-pcre";
6 version = "0.94.4";
6 version = "0.94.4";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 array base bytestring containers regex-base
9 array base bytestring containers regex-base
13 ];
10 ];
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "http://hackage.haskell.org/package/regex-pcre";
12 homepage = "http://hackage.haskell.org/package/regex-pcre";
16 description = "Replaces/Enhances Text.Regex";
13 description = "Replaces/Enhances Text.Regex";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/relational-query.nix.golden+4−7
@@ -1,15 +1,12 @@
1{ mkDerivation, array, base, bytestring, containers, dlist
1{ mkDerivation, array, base, bytestring, containers, dlist
2−, fetchurl, names-th, persistable-record, product-isomorphic
2+, names-th, persistable-record, product-isomorphic
3−, quickcheck-simple, sql-words, template-haskell, text
3+, quickcheck-simple, sql-words, stdenv, template-haskell, text
4, th-reify-compat, time, time-locale-compat, transformers
4, th-reify-compat, time, time-locale-compat, transformers
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "relational-query";
7 pname = "relational-query";
8 version = "0.11.0.0";
8 version = "0.11.0.0";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
14 array base bytestring containers dlist names-th persistable-record
11 array base bytestring containers dlist names-th persistable-record
15 product-isomorphic sql-words template-haskell text th-reify-compat
12 product-isomorphic sql-words template-haskell text th-reify-compat
@@ -21,4 +18,4 @@ mkDerivation {
21 homepage = "http://khibino.github.io/haskell-relational-record/";
18 homepage = "http://khibino.github.io/haskell-relational-record/";
22 description = "Typeful, Modular, Relational, algebraic query engine";
19 description = "Typeful, Modular, Relational, algebraic query engine";
23 license = stdenv.lib.licenses.bsd3;
20 license = stdenv.lib.licenses.bsd3;
24−}
21+}
test/golden-test-cases/relational-schemas.nix.golden+4−7
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, bytestring, containers, fetchurl
1+{ mkDerivation, base, bytestring, containers, relational-query
2−, relational-query, template-haskell, time
2+, stdenv, template-haskell, time
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "relational-schemas";
5 pname = "relational-schemas";
6 version = "0.1.6.1";
6 version = "0.1.6.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base bytestring containers relational-query template-haskell time
9 base bytestring containers relational-query template-haskell time
13 ];
10 ];
14 homepage = "http://khibino.github.io/haskell-relational-record/";
11 homepage = "http://khibino.github.io/haskell-relational-record/";
15 description = "RDBMSs' schema templates for relational-query";
12 description = "RDBMSs' schema templates for relational-query";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/repa-io.nix.golden+4−7
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, binary, bmp, bytestring, fetchurl, old-time
1+{ mkDerivation, base, binary, bmp, bytestring, old-time, repa
2−, repa, vector
2+, stdenv, vector
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "repa-io";
5 pname = "repa-io";
6 version = "3.4.1.1";
6 version = "3.4.1.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base binary bmp bytestring old-time repa vector
9 base binary bmp bytestring old-time repa vector
13 ];
10 ];
14 homepage = "http://repa.ouroborus.net";
11 homepage = "http://repa.ouroborus.net";
15 description = "Read and write Repa arrays in various formats";
12 description = "Read and write Repa arrays in various formats";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/repa.nix.golden+3−6
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, bytestring, fetchurl, ghc-prim, QuickCheck
1+{ mkDerivation, base, bytestring, ghc-prim, QuickCheck, stdenv
2, template-haskell, vector
2, template-haskell, vector
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "repa";
5 pname = "repa";
6 version = "3.4.1.3";
6 version = "3.4.1.3";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base bytestring ghc-prim QuickCheck template-haskell vector
9 base bytestring ghc-prim QuickCheck template-haskell vector
13 ];
10 ];
14 homepage = "http://repa.ouroborus.net";
11 homepage = "http://repa.ouroborus.net";
15 description = "High performance, regular, shape polymorphic parallel arrays";
12 description = "High performance, regular, shape polymorphic parallel arrays";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/rosezipper.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, containers, fetchurl }:
1+{ mkDerivation, base, containers, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "rosezipper";
3 pname = "rosezipper";
4 version = "0.2";
4 version = "0.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base containers ];
6 libraryHaskellDepends = [ base containers ];
10 description = "Generic zipper implementation for Data.Tree";
7 description = "Generic zipper implementation for Data.Tree";
11 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
12−}
9+}
test/golden-test-cases/rvar.nix.golden+3−6
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, fetchurl, MonadPrompt, mtl, random-source
1+{ mkDerivation, base, MonadPrompt, mtl, random-source, stdenv
2, transformers
2, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "rvar";
5 pname = "rvar";
6 version = "0.2.0.3";
6 version = "0.2.0.3";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base MonadPrompt mtl random-source transformers
9 base MonadPrompt mtl random-source transformers
13 ];
10 ];
14 homepage = "https://github.com/mokus0/random-fu";
11 homepage = "https://github.com/mokus0/random-fu";
15 description = "Random Variables";
12 description = "Random Variables";
16 license = stdenv.lib.licenses.publicDomain;
13 license = stdenv.lib.licenses.publicDomain;
17−}
14+}
test/golden-test-cases/scalpel-core.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, base, bytestring, containers, criterion
1{ mkDerivation, base, bytestring, containers, criterion
2−, data-default, fail, fetchurl, HUnit, regex-base, regex-tdfa
2+, data-default, fail, HUnit, regex-base, regex-tdfa, stdenv
3, tagsoup, text, vector
3, tagsoup, text, vector
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "scalpel-core";
6 pname = "scalpel-core";
7 version = "0.5.1";
7 version = "0.5.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 base bytestring containers data-default fail regex-base regex-tdfa
10 base bytestring containers data-default fail regex-base regex-tdfa
14 tagsoup text vector
11 tagsoup text vector
@@ -18,4 +15,4 @@ mkDerivation {
18 homepage = "https://github.com/fimad/scalpel";
15 homepage = "https://github.com/fimad/scalpel";
19 description = "A high level web scraping library for Haskell";
16 description = "A high level web scraping library for Haskell";
20 license = stdenv.lib.licenses.asl20;
17 license = stdenv.lib.licenses.asl20;
21−}
18+}
test/golden-test-cases/sdl2.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, exceptions, fetchurl, linear
1+{ mkDerivation, base, bytestring, exceptions, linear, SDL2
2−, SDL2, StateVar, text, transformers, vector
2+, StateVar, stdenv, text, transformers, vector
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "sdl2";
5 pname = "sdl2";
6 version = "2.3.0";
6 version = "2.3.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = true;
8 isLibrary = true;
12 isExecutable = true;
9 isExecutable = true;
13 enableSeparateDataOutput = true;
10 enableSeparateDataOutput = true;
@@ -18,4 +15,4 @@ mkDerivation {
18 libraryPkgconfigDepends = [ SDL2 ];
15 libraryPkgconfigDepends = [ SDL2 ];
19 description = "Both high- and low-level bindings to the SDL library (version 2.0.4+).";
16 description = "Both high- and low-level bindings to the SDL library (version 2.0.4+).";
20 license = stdenv.lib.licenses.bsd3;
17 license = stdenv.lib.licenses.bsd3;
21−}
18+}
test/golden-test-cases/selda-sqlite.nix.golden+4−7
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, direct-sqlite, directory, exceptions
1+{ mkDerivation, base, direct-sqlite, directory, exceptions, selda
2−, fetchurl, selda, text
2+, stdenv, text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "selda-sqlite";
5 pname = "selda-sqlite";
6 version = "0.1.6.0";
6 version = "0.1.6.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base direct-sqlite directory exceptions selda text
9 base direct-sqlite directory exceptions selda text
13 ];
10 ];
14 homepage = "https://github.com/valderman/selda";
11 homepage = "https://github.com/valderman/selda";
15 description = "SQLite backend for the Selda database EDSL";
12 description = "SQLite backend for the Selda database EDSL";
16 license = stdenv.lib.licenses.mit;
13 license = stdenv.lib.licenses.mit;
17−}
14+}
test/golden-test-cases/selda.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, exceptions, fetchurl, hashable
1+{ mkDerivation, base, bytestring, exceptions, hashable, mtl
2−, mtl, psqueues, text, time, unordered-containers
2+, psqueues, stdenv, text, time, unordered-containers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "selda";
5 pname = "selda";
6 version = "0.1.11.2";
6 version = "0.1.11.2";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base bytestring exceptions hashable mtl psqueues text time
9 base bytestring exceptions hashable mtl psqueues text time
13 unordered-containers
10 unordered-containers
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://selda.link";
12 homepage = "https://selda.link";
16 description = "Type-safe, high-level EDSL for interacting with relational databases";
13 description = "Type-safe, high-level EDSL for interacting with relational databases";
17 license = stdenv.lib.licenses.mit;
14 license = stdenv.lib.licenses.mit;
18−}
15+}
test/golden-test-cases/servant-checked-exceptions.nix.golden+5−8
@@ -1,15 +1,12 @@
1−{ mkDerivation, aeson, base, bytestring, deepseq, doctest, fetchurl
1+{ mkDerivation, aeson, base, bytestring, deepseq, doctest, Glob
2−, Glob, hspec-wai, http-media, profunctors, servant, servant-client
2+, hspec-wai, http-media, profunctors, servant, servant-client
3−, servant-docs, servant-server, tagged, tasty, tasty-hspec
3+, servant-docs, servant-server, stdenv, tagged, tasty, tasty-hspec
4, tasty-hunit, text, wai
4, tasty-hunit, text, wai
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "servant-checked-exceptions";
7 pname = "servant-checked-exceptions";
8 version = "0.4.1.0";
8 version = "0.4.1.0";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 isLibrary = true;
10 isLibrary = true;
14 isExecutable = true;
11 isExecutable = true;
15 libraryHaskellDepends = [
12 libraryHaskellDepends = [
@@ -23,4 +20,4 @@ mkDerivation {
23 homepage = "https://github.com/cdepillabout/servant-checked-exceptions";
20 homepage = "https://github.com/cdepillabout/servant-checked-exceptions";
24 description = "Checked exceptions for Servant APIs";
21 description = "Checked exceptions for Servant APIs";
25 license = stdenv.lib.licenses.bsd3;
22 license = stdenv.lib.licenses.bsd3;
26−}
23+}
test/golden-test-cases/set-cover.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, containers, enummapset, fetchurl, psqueues
1+{ mkDerivation, base, containers, enummapset, psqueues, stdenv
2, utility-ht
2, utility-ht
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "set-cover";
5 pname = "set-cover";
6 version = "0.0.8";
6 version = "0.0.8";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = true;
8 isLibrary = true;
12 isExecutable = true;
9 isExecutable = true;
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "http://hub.darcs.net/thielema/set-cover/";
13 homepage = "http://hub.darcs.net/thielema/set-cover/";
17 description = "Solve exact set cover problems like Sudoku, 8 Queens, Soma Cube, Tetris Cube";
14 description = "Solve exact set cover problems like Sudoku, 8 Queens, Soma Cube, Tetris Cube";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/sets.nix.golden+6−9
@@ -1,16 +1,13 @@
1{ mkDerivation, base, commutative, composition, containers
1{ mkDerivation, base, commutative, composition, containers
2−, contravariant, criterion, fetchurl, hashable, keys, mtl
2+, contravariant, criterion, hashable, keys, mtl, QuickCheck
3−, QuickCheck, quickcheck-instances, semigroupoids, semigroups
3+, quickcheck-instances, semigroupoids, semigroups, stdenv, tasty
4−, tasty, tasty-hunit, tasty-quickcheck, transformers
4+, tasty-hunit, tasty-quickcheck, transformers, transformers-base
5−, transformers-base, unordered-containers, witherable
5+, unordered-containers, witherable
6}:
6}:
7mkDerivation {
7mkDerivation {
8 pname = "sets";
8 pname = "sets";
9 version = "0.0.5.2";
9 version = "0.0.5.2";
10− src = fetchurl {
11− url = "http://example.org/";
12− sha256 = "abc";
10+ sha256 = "deadbeef";
13− };
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
15 base commutative composition containers contravariant hashable keys
12 base commutative composition containers contravariant hashable keys
16 mtl QuickCheck semigroupoids semigroups transformers
13 mtl QuickCheck semigroupoids semigroups transformers
@@ -27,4 +24,4 @@ mkDerivation {
27 ];
24 ];
28 description = "Ducktyped set interface for Haskell containers";
25 description = "Ducktyped set interface for Haskell containers";
29 license = stdenv.lib.licenses.mit;
26 license = stdenv.lib.licenses.mit;
30−}
27+}
test/golden-test-cases/simple-smt.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, fetchurl, process }:
1+{ mkDerivation, base, process, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "simple-smt";
3 pname = "simple-smt";
4 version = "0.7.1";
4 version = "0.7.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base process ];
6 libraryHaskellDepends = [ base process ];
10 description = "A simple way to interact with an SMT solver process";
7 description = "A simple way to interact with an SMT solver process";
11 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
12−}
9+}
test/golden-test-cases/slack-web.nix.golden+4−7
@@ -1,14 +1,11 @@
1−{ mkDerivation, aeson, base, containers, errors, fetchurl, hspec
1+{ mkDerivation, aeson, base, containers, errors, hspec
2, http-api-data, http-client, http-client-tls, megaparsec, mtl
2, http-api-data, http-client, http-client-tls, megaparsec, mtl
3−, servant, servant-client, text, time, transformers
3+, servant, servant-client, stdenv, text, time, transformers
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "slack-web";
6 pname = "slack-web";
7 version = "0.2.0.1";
7 version = "0.2.0.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 aeson base containers errors http-api-data http-client
10 aeson base containers errors http-api-data http-client
14 http-client-tls megaparsec mtl servant servant-client text time
11 http-client-tls megaparsec mtl servant servant-client text time
@@ -21,4 +18,4 @@ mkDerivation {
21 homepage = "https://github.com/jpvillaisaza/slack-web";
18 homepage = "https://github.com/jpvillaisaza/slack-web";
22 description = "Bindings for the Slack web API";
19 description = "Bindings for the Slack web API";
23 license = stdenv.lib.licenses.mit;
20 license = stdenv.lib.licenses.mit;
24−}
21+}
test/golden-test-cases/slug.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, aeson, base, exceptions, fetchurl, hspec
1+{ mkDerivation, aeson, base, exceptions, hspec, http-api-data
2−, http-api-data, path-pieces, persistent, QuickCheck, text
2+, path-pieces, persistent, QuickCheck, stdenv, text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "slug";
5 pname = "slug";
6 version = "0.1.7";
6 version = "0.1.7";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 aeson base exceptions http-api-data path-pieces persistent
9 aeson base exceptions http-api-data path-pieces persistent
13 QuickCheck text
10 QuickCheck text
@@ -18,4 +15,4 @@ mkDerivation {
18 homepage = "https://github.com/mrkkrp/slug";
15 homepage = "https://github.com/mrkkrp/slug";
19 description = "Type-safe slugs for Yesod ecosystem";
16 description = "Type-safe slugs for Yesod ecosystem";
20 license = stdenv.lib.licenses.bsd3;
17 license = stdenv.lib.licenses.bsd3;
21−}
18+}
test/golden-test-cases/soxlib.nix.golden+4−7
@@ -1,14 +1,11 @@
1{ mkDerivation, base, bytestring, containers, explicit-exception
1{ mkDerivation, base, bytestring, containers, explicit-exception
2−, extensible-exceptions, fetchurl, sample-frame, sox
2+, extensible-exceptions, sample-frame, sox, stdenv, storablevector
3−, storablevector, transformers, utility-ht
3+, transformers, utility-ht
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "soxlib";
6 pname = "soxlib";
7 version = "0.0.3";
7 version = "0.0.3";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 isLibrary = true;
9 isLibrary = true;
13 isExecutable = true;
10 isExecutable = true;
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
@@ -19,4 +16,4 @@ mkDerivation {
19 homepage = "http://www.haskell.org/haskellwiki/Sox";
16 homepage = "http://www.haskell.org/haskellwiki/Sox";
20 description = "Write, read, convert audio signals using libsox";
17 description = "Write, read, convert audio signals using libsox";
21 license = stdenv.lib.licenses.bsd3;
18 license = stdenv.lib.licenses.bsd3;
22−}
19+}
test/golden-test-cases/speedy-slice.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, containers, fetchurl, kan-extensions, lens
1+{ mkDerivation, base, containers, kan-extensions, lens, mcmc-types
2−, mcmc-types, mwc-probability, pipes, primitive, transformers
2+, mwc-probability, pipes, primitive, stdenv, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "speedy-slice";
5 pname = "speedy-slice";
6 version = "0.3.0";
6 version = "0.3.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base kan-extensions lens mcmc-types mwc-probability pipes primitive
9 base kan-extensions lens mcmc-types mwc-probability pipes primitive
13 transformers
10 transformers
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "http://github.com/jtobin/speedy-slice";
13 homepage = "http://github.com/jtobin/speedy-slice";
17 description = "Speedy slice sampling";
14 description = "Speedy slice sampling";
18 license = stdenv.lib.licenses.mit;
15 license = stdenv.lib.licenses.mit;
19−}
16+}
test/golden-test-cases/splice.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, network }:
1+{ mkDerivation, base, network, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "splice";
3 pname = "splice";
4 version = "0.6.1.1";
4 version = "0.6.1.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base network ];
6 libraryHaskellDepends = [ base network ];
10 homepage = "http://corsis.github.com/splice/";
7 homepage = "http://corsis.github.com/splice/";
11 description = "Cross-platform Socket to Socket Data Splicing";
8 description = "Cross-platform Socket to Socket Data Splicing";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/spreadsheet.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, explicit-exception, fetchurl, transformers
1+{ mkDerivation, base, explicit-exception, stdenv, transformers
2, utility-ht
2, utility-ht
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "spreadsheet";
5 pname = "spreadsheet";
6 version = "0.1.3.7";
6 version = "0.1.3.7";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = true;
8 isLibrary = true;
12 isExecutable = true;
9 isExecutable = true;
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "http://www.haskell.org/haskellwiki/Spreadsheet";
13 homepage = "http://www.haskell.org/haskellwiki/Spreadsheet";
17 description = "Read and write spreadsheets from and to CSV files in a lazy way";
14 description = "Read and write spreadsheets from and to CSV files in a lazy way";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/stack-type.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, transformers }:
1+{ mkDerivation, base, stdenv, transformers }:
2mkDerivation {
2mkDerivation {
3 pname = "stack-type";
3 pname = "stack-type";
4 version = "0.1.0.0";
4 version = "0.1.0.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base transformers ];
6 libraryHaskellDepends = [ base transformers ];
10 homepage = "https://github.com/aiya000/hs-stack-type";
7 homepage = "https://github.com/aiya000/hs-stack-type";
11 description = "The basic stack type";
8 description = "The basic stack type";
12 license = stdenv.lib.licenses.mit;
9 license = stdenv.lib.licenses.mit;
13−}
10+}
test/golden-test-cases/state-codes.nix.golden+4−7
@@ -1,16 +1,13 @@
1−{ mkDerivation, aeson, base, fetchurl, hspec, QuickCheck
1+{ mkDerivation, aeson, base, hspec, QuickCheck, shakespeare, stdenv
2−, shakespeare, text
2+, text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "state-codes";
5 pname = "state-codes";
6 version = "0.1.3";
6 version = "0.1.3";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ aeson base shakespeare text ];
8 libraryHaskellDepends = [ aeson base shakespeare text ];
12 testHaskellDepends = [ aeson base hspec QuickCheck text ];
9 testHaskellDepends = [ aeson base hspec QuickCheck text ];
13 homepage = "https://github.com/acamino/state-codes#README";
10 homepage = "https://github.com/acamino/state-codes#README";
14 description = "ISO 3166-2:US state codes and i18n names";
11 description = "ISO 3166-2:US state codes and i18n names";
15 license = stdenv.lib.licenses.mit;
12 license = stdenv.lib.licenses.mit;
16−}
13+}
test/golden-test-cases/stb-image-redux.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, fetchurl, hspec, vector }:
1+{ mkDerivation, base, hspec, stdenv, vector }:
2mkDerivation {
2mkDerivation {
3 pname = "stb-image-redux";
3 pname = "stb-image-redux";
4 version = "0.2.1.2";
4 version = "0.2.1.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base vector ];
6 libraryHaskellDepends = [ base vector ];
10 testHaskellDepends = [ base hspec vector ];
7 testHaskellDepends = [ base hspec vector ];
11 homepage = "https://github.com/typedrat/stb-image-redux#readme";
8 homepage = "https://github.com/typedrat/stb-image-redux#readme";
12 description = "Image loading and writing microlibrary";
9 description = "Image loading and writing microlibrary";
13 license = stdenv.lib.licenses.bsd3;
10 license = stdenv.lib.licenses.bsd3;
14−}
11+}
test/golden-test-cases/stm-containers.nix.golden+6−9
@@ -1,16 +1,13 @@
1{ mkDerivation, async, base, base-prelude, containers, criterion
1{ mkDerivation, async, base, base-prelude, containers, criterion
2−, fetchurl, focus, free, hashable, hashtables, HTF, list-t, loch-th
2+, focus, free, hashable, hashtables, HTF, list-t, loch-th, mtl
3−, mtl, mtl-prelude, mwc-random, mwc-random-monad, placeholders
3+, mtl-prelude, mwc-random, mwc-random-monad, placeholders
4−, primitive, QuickCheck, text, transformers, unordered-containers
4+, primitive, QuickCheck, stdenv, text, transformers
5−, vector
5+, unordered-containers, vector
6}:
6}:
7mkDerivation {
7mkDerivation {
8 pname = "stm-containers";
8 pname = "stm-containers";
9 version = "0.2.16";
9 version = "0.2.16";
10− src = fetchurl {
11− url = "http://example.org/";
12− sha256 = "abc";
10+ sha256 = "deadbeef";
13− };
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
15 base base-prelude focus hashable list-t primitive transformers
12 base base-prelude focus hashable list-t primitive transformers
16 ];
13 ];
@@ -27,4 +24,4 @@ mkDerivation {
27 homepage = "https://github.com/nikita-volkov/stm-containers";
24 homepage = "https://github.com/nikita-volkov/stm-containers";
28 description = "Containers for STM";
25 description = "Containers for STM";
29 license = stdenv.lib.licenses.mit;
26 license = stdenv.lib.licenses.mit;
30−}
27+}
test/golden-test-cases/streaming-commons.nix.golden+4−7
@@ -1,14 +1,11 @@
1{ mkDerivation, array, async, base, blaze-builder, bytestring
1{ mkDerivation, array, async, base, blaze-builder, bytestring
2−, criterion, deepseq, directory, fetchurl, hspec, network, process
2+, criterion, deepseq, directory, hspec, network, process
3−, QuickCheck, random, stm, text, transformers, unix, zlib
3+, QuickCheck, random, stdenv, stm, text, transformers, unix, zlib
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "streaming-commons";
6 pname = "streaming-commons";
7 version = "0.1.18";
7 version = "0.1.18";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 array async base blaze-builder bytestring directory network process
10 array async base blaze-builder bytestring directory network process
14 random stm text transformers unix zlib
11 random stm text transformers unix zlib
@@ -23,4 +20,4 @@ mkDerivation {
23 homepage = "https://github.com/fpco/streaming-commons";
20 homepage = "https://github.com/fpco/streaming-commons";
24 description = "Common lower-level functions needed by various streaming data libraries";
21 description = "Common lower-level functions needed by various streaming data libraries";
25 license = stdenv.lib.licenses.mit;
22 license = stdenv.lib.licenses.mit;
26−}
23+}
test/golden-test-cases/strict-base-types.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, aeson, base, bifunctors, binary, deepseq, fetchurl
1+{ mkDerivation, aeson, base, bifunctors, binary, deepseq, ghc-prim
2−, ghc-prim, hashable, lens, QuickCheck, strict
2+, hashable, lens, QuickCheck, stdenv, strict
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "strict-base-types";
5 pname = "strict-base-types";
6 version = "0.5.0";
6 version = "0.5.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 aeson base bifunctors binary deepseq ghc-prim hashable lens
9 aeson base bifunctors binary deepseq ghc-prim hashable lens
13 QuickCheck strict
10 QuickCheck strict
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/meiersi/strict-base-types";
12 homepage = "https://github.com/meiersi/strict-base-types";
16 description = "Strict variants of the types provided in base";
13 description = "Strict variants of the types provided in base";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/strict-types.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, array, base, bytestring, containers, deepseq
1{ mkDerivation, array, base, bytestring, containers, deepseq
2−, fetchurl, hashable, text, unordered-containers, vector
2+, hashable, stdenv, text, unordered-containers, vector
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "strict-types";
5 pname = "strict-types";
6 version = "0.1.2";
6 version = "0.1.2";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 array base bytestring containers deepseq hashable text
9 array base bytestring containers deepseq hashable text
13 unordered-containers vector
10 unordered-containers vector
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/pepeiborra/strict-types";
12 homepage = "https://github.com/pepeiborra/strict-types";
16 description = "A type level predicate ranging over strict types";
13 description = "A type level predicate ranging over strict types";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/string-class.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, fetchurl, tagged, text }:
1+{ mkDerivation, base, bytestring, stdenv, tagged, text }:
2mkDerivation {
2mkDerivation {
3 pname = "string-class";
3 pname = "string-class";
4 version = "0.1.6.5";
4 version = "0.1.6.5";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base bytestring tagged text ];
6 libraryHaskellDepends = [ base bytestring tagged text ];
10 homepage = "https://github.com/bairyn/string-class";
7 homepage = "https://github.com/bairyn/string-class";
11 description = "String class library";
8 description = "String class library";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/stripe-haskell.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, stripe-core, stripe-http-streams }:
1+{ mkDerivation, base, stdenv, stripe-core, stripe-http-streams }:
2mkDerivation {
2mkDerivation {
3 pname = "stripe-haskell";
3 pname = "stripe-haskell";
4 version = "2.2.3";
4 version = "2.2.3";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base stripe-core stripe-http-streams ];
6 libraryHaskellDepends = [ base stripe-core stripe-http-streams ];
10 homepage = "https://github.com/dmjio/stripe";
7 homepage = "https://github.com/dmjio/stripe";
11 description = "Stripe API for Haskell";
8 description = "Stripe API for Haskell";
12 license = stdenv.lib.licenses.mit;
9 license = stdenv.lib.licenses.mit;
13−}
10+}
test/golden-test-cases/svg-tree.nix.golden+5−8
@@ -1,18 +1,15 @@
1−{ mkDerivation, attoparsec, base, bytestring, containers, fetchurl
1+{ mkDerivation, attoparsec, base, bytestring, containers
2−, JuicyPixels, lens, linear, mtl, scientific, text, transformers
2+, JuicyPixels, lens, linear, mtl, scientific, stdenv, text
3−, vector, xml
3+, transformers, vector, xml
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "svg-tree";
6 pname = "svg-tree";
7 version = "0.6.2.1";
7 version = "0.6.2.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 attoparsec base bytestring containers JuicyPixels lens linear mtl
10 attoparsec base bytestring containers JuicyPixels lens linear mtl
14 scientific text transformers vector xml
11 scientific text transformers vector xml
15 ];
12 ];
16 description = "SVG file loader and serializer";
13 description = "SVG file loader and serializer";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/swagger.nix.golden+4−7
@@ -1,17 +1,14 @@
1−{ mkDerivation, aeson, base, bytestring, fetchurl, tasty
1+{ mkDerivation, aeson, base, bytestring, stdenv, tasty, tasty-hunit
2−, tasty-hunit, text, time, transformers
2+, text, time, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "swagger";
5 pname = "swagger";
6 version = "0.3.0";
6 version = "0.3.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 aeson base bytestring text time transformers
9 aeson base bytestring text time transformers
13 ];
10 ];
14 testHaskellDepends = [ aeson base bytestring tasty tasty-hunit ];
11 testHaskellDepends = [ aeson base bytestring tasty tasty-hunit ];
15 description = "Implementation of swagger data model";
12 description = "Implementation of swagger data model";
16 license = "unknown";
13 license = "unknown";
17−}
14+}
test/golden-test-cases/system-argv0.nix.golden+3−7
@@ -1,14 +1,10 @@
1−{ mkDerivation, base, bytestring, fetchurl, system-filepath, text
1+{ mkDerivation, base, bytestring, stdenv, system-filepath, text }:
2−}:
3mkDerivation {
2mkDerivation {
4 pname = "system-argv0";
3 pname = "system-argv0";
5 version = "0.1.1";
4 version = "0.1.1";
6− src = fetchurl {
7− url = "http://example.org/";
8− sha256 = "abc";
5+ sha256 = "deadbeef";
9− };
10 libraryHaskellDepends = [ base bytestring system-filepath text ];
6 libraryHaskellDepends = [ base bytestring system-filepath text ];
11 homepage = "https://john-millikin.com/software/haskell-filesystem/";
7 homepage = "https://john-millikin.com/software/haskell-filesystem/";
12 description = "Get argv[0] as a FilePath";
8 description = "Get argv[0] as a FilePath";
13 license = stdenv.lib.licenses.mit;
9 license = stdenv.lib.licenses.mit;
14−}
10+}
test/golden-test-cases/system-fileio.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, chell, fetchurl, system-filepath
1+{ mkDerivation, base, bytestring, chell, stdenv, system-filepath
2, temporary, text, time, transformers, unix
2, temporary, text, time, transformers, unix
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "system-fileio";
5 pname = "system-fileio";
6 version = "0.3.16.3";
6 version = "0.3.16.3";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base bytestring system-filepath text time unix
9 base bytestring system-filepath text time unix
13 ];
10 ];
@@ -18,4 +15,4 @@ mkDerivation {
18 homepage = "https://github.com/fpco/haskell-filesystem";
15 homepage = "https://github.com/fpco/haskell-filesystem";
19 description = "Consistent filesystem interaction across GHC versions (deprecated)";
16 description = "Consistent filesystem interaction across GHC versions (deprecated)";
20 license = stdenv.lib.licenses.mit;
17 license = stdenv.lib.licenses.mit;
21−}
18+}
test/golden-test-cases/system-filepath.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, base, bytestring, chell, chell-quickcheck, deepseq
1{ mkDerivation, base, bytestring, chell, chell-quickcheck, deepseq
2−, fetchurl, QuickCheck, text
2+, QuickCheck, stdenv, text
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "system-filepath";
5 pname = "system-filepath";
6 version = "0.4.13.4";
6 version = "0.4.13.4";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base bytestring deepseq text ];
8 libraryHaskellDepends = [ base bytestring deepseq text ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 base bytestring chell chell-quickcheck QuickCheck text
10 base bytestring chell chell-quickcheck QuickCheck text
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/fpco/haskell-filesystem";
12 homepage = "https://github.com/fpco/haskell-filesystem";
16 description = "High-level, byte-based file and directory path manipulations (deprecated)";
13 description = "High-level, byte-based file and directory path manipulations (deprecated)";
17 license = stdenv.lib.licenses.mit;
14 license = stdenv.lib.licenses.mit;
18−}
15+}
test/golden-test-cases/tagged.nix.golden+3−6
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, deepseq, fetchurl, template-haskell
1+{ mkDerivation, base, deepseq, stdenv, template-haskell
2, transformers, transformers-compat
2, transformers, transformers-compat
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "tagged";
5 pname = "tagged";
6 version = "0.8.5";
6 version = "0.8.5";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base deepseq template-haskell transformers transformers-compat
9 base deepseq template-haskell transformers transformers-compat
13 ];
10 ];
14 homepage = "http://github.com/ekmett/tagged";
11 homepage = "http://github.com/ekmett/tagged";
15 description = "Haskell 98 phantom types to avoid unsafely passing dummy arguments";
12 description = "Haskell 98 phantom types to avoid unsafely passing dummy arguments";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/taggy.nix.golden+3−6
@@ -1,14 +1,11 @@
1{ mkDerivation, attoparsec, base, blaze-html, blaze-markup
1{ mkDerivation, attoparsec, base, blaze-html, blaze-markup
2−, criterion, directory, fetchurl, hspec, hspec-attoparsec, tagsoup
2+, criterion, directory, hspec, hspec-attoparsec, stdenv, tagsoup
3, text, unordered-containers, vector
3, text, unordered-containers, vector
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "taggy";
6 pname = "taggy";
7 version = "0.2.1";
7 version = "0.2.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 isLibrary = true;
9 isLibrary = true;
13 isExecutable = true;
10 isExecutable = true;
14 enableSeparateDataOutput = true;
11 enableSeparateDataOutput = true;
@@ -27,4 +24,4 @@ mkDerivation {
27 homepage = "http://github.com/alpmestan/taggy";
24 homepage = "http://github.com/alpmestan/taggy";
28 description = "Efficient and simple HTML/XML parsing library";
25 description = "Efficient and simple HTML/XML parsing library";
29 license = stdenv.lib.licenses.bsd3;
26 license = stdenv.lib.licenses.bsd3;
30−}
27+}
test/golden-test-cases/tagstream-conduit.nix.golden+4−7
@@ -1,15 +1,12 @@
1{ mkDerivation, attoparsec, base, blaze-builder, bytestring
1{ mkDerivation, attoparsec, base, blaze-builder, bytestring
2−, case-insensitive, conduit, conduit-extra, data-default, fetchurl
2+, case-insensitive, conduit, conduit-extra, data-default, hspec
3−, hspec, HUnit, QuickCheck, resourcet, text, transformers
3+, HUnit, QuickCheck, resourcet, stdenv, text, transformers
4, xml-conduit
4, xml-conduit
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "tagstream-conduit";
7 pname = "tagstream-conduit";
8 version = "0.5.5.3";
8 version = "0.5.5.3";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
10 libraryHaskellDepends = [
14 attoparsec base blaze-builder bytestring case-insensitive conduit
11 attoparsec base blaze-builder bytestring case-insensitive conduit
15 conduit-extra data-default resourcet text transformers xml-conduit
12 conduit-extra data-default resourcet text transformers xml-conduit
@@ -20,4 +17,4 @@ mkDerivation {
20 homepage = "http://github.com/yihuang/tagstream-conduit";
17 homepage = "http://github.com/yihuang/tagstream-conduit";
21 description = "streamlined html tag parser";
18 description = "streamlined html tag parser";
22 license = stdenv.lib.licenses.bsd3;
19 license = stdenv.lib.licenses.bsd3;
23−}
20+}
test/golden-test-cases/tasty-hedgehog.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, hedgehog, tagged, tasty
1+{ mkDerivation, base, hedgehog, stdenv, tagged, tasty
2, tasty-expected-failure
2, tasty-expected-failure
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "tasty-hedgehog";
5 pname = "tasty-hedgehog";
6 version = "0.1.0.1";
6 version = "0.1.0.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base hedgehog tagged tasty ];
8 libraryHaskellDepends = [ base hedgehog tagged tasty ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 base hedgehog tasty tasty-expected-failure
10 base hedgehog tasty tasty-expected-failure
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/qfpl/tasty-hedghog";
12 homepage = "https://github.com/qfpl/tasty-hedghog";
16 description = "Integrates the hedgehog testing library with the tasty testing framework";
13 description = "Integrates the hedgehog testing library with the tasty testing framework";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/tasty-rerun.nix.golden+4−8
@@ -1,14 +1,10 @@
1−{ mkDerivation, base, containers, fetchurl, mtl
1+{ mkDerivation, base, containers, mtl, optparse-applicative
2−, optparse-applicative, reducers, split, stm, tagged, tasty
2+, reducers, split, stdenv, stm, tagged, tasty, transformers
3−, transformers
4}:
3}:
5mkDerivation {
4mkDerivation {
6 pname = "tasty-rerun";
5 pname = "tasty-rerun";
7 version = "1.1.8";
6 version = "1.1.8";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
7+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
8 libraryHaskellDepends = [
13 base containers mtl optparse-applicative reducers split stm tagged
9 base containers mtl optparse-applicative reducers split stm tagged
14 tasty transformers
10 tasty transformers
@@ -16,4 +12,4 @@ mkDerivation {
16 homepage = "http://github.com/ocharles/tasty-rerun";
12 homepage = "http://github.com/ocharles/tasty-rerun";
17 description = "Run tests by filtering the test tree depending on the result of previous test runs";
13 description = "Run tests by filtering the test tree depending on the result of previous test runs";
18 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
19−}
15+}
test/golden-test-cases/tce-conf.nix.golden+3−6
@@ -1,11 +1,8 @@
1−{ mkDerivation, base, containers, fetchurl, HUnit }:
1+{ mkDerivation, base, containers, HUnit, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "tce-conf";
3 pname = "tce-conf";
4 version = "1.3";
4 version = "1.3";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 isLibrary = true;
6 isLibrary = true;
10 isExecutable = true;
7 isExecutable = true;
11 libraryHaskellDepends = [ base containers ];
8 libraryHaskellDepends = [ base containers ];
@@ -14,4 +11,4 @@ mkDerivation {
14 homepage = "http://hub.darcs.net/dino/tce-conf";
11 homepage = "http://hub.darcs.net/dino/tce-conf";
15 description = "Very simple config file reading";
12 description = "Very simple config file reading";
16 license = stdenv.lib.licenses.bsd3;
13 license = stdenv.lib.licenses.bsd3;
17−}
14+}
test/golden-test-cases/terminal-progress-bar.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, HUnit, stm, stm-chans
1+{ mkDerivation, base, HUnit, stdenv, stm, stm-chans, test-framework
2−, test-framework, test-framework-hunit
2+, test-framework-hunit
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "terminal-progress-bar";
5 pname = "terminal-progress-bar";
6 version = "0.1.1.1";
6 version = "0.1.1.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = true;
8 isLibrary = true;
12 isExecutable = true;
9 isExecutable = true;
13 libraryHaskellDepends = [ base stm stm-chans ];
10 libraryHaskellDepends = [ base stm stm-chans ];
@@ -17,4 +14,4 @@ mkDerivation {
17 homepage = "https://github.com/roelvandijk/terminal-progress-bar";
14 homepage = "https://github.com/roelvandijk/terminal-progress-bar";
18 description = "A simple progress bar in the terminal";
15 description = "A simple progress bar in the terminal";
19 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
20−}
17+}
test/golden-test-cases/test-fixture.nix.golden+4−7
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, data-default-class, exceptions, fetchurl
1+{ mkDerivation, base, data-default-class, exceptions
2, haskell-src-exts, haskell-src-meta, hspec, hspec-discover, mtl
2, haskell-src-exts, haskell-src-meta, hspec, hspec-discover, mtl
3−, template-haskell, th-orphans, transformers
3+, stdenv, template-haskell, th-orphans, transformers
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "test-fixture";
6 pname = "test-fixture";
7 version = "0.5.1.0";
7 version = "0.5.1.0";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 base data-default-class exceptions haskell-src-exts
10 base data-default-class exceptions haskell-src-exts
14 haskell-src-meta mtl template-haskell th-orphans
11 haskell-src-meta mtl template-haskell th-orphans
@@ -19,4 +16,4 @@ mkDerivation {
19 homepage = "http://github.com/cjdev/test-fixture#readme";
16 homepage = "http://github.com/cjdev/test-fixture#readme";
20 description = "Test monadic side-effects";
17 description = "Test monadic side-effects";
21 license = stdenv.lib.licenses.bsd3;
18 license = stdenv.lib.licenses.bsd3;
22−}
19+}
test/golden-test-cases/texmath.nix.golden+5−8
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, bytestring, containers, directory, fetchurl
1+{ mkDerivation, base, bytestring, containers, directory, filepath
2−, filepath, mtl, pandoc-types, parsec, process, split, syb
2+, mtl, pandoc-types, parsec, process, split, stdenv, syb, temporary
3−, temporary, text, utf8-string, xml
3+, text, utf8-string, xml
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "texmath";
6 pname = "texmath";
7 version = "0.10.1";
7 version = "0.10.1";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 isLibrary = true;
9 isLibrary = true;
13 isExecutable = true;
10 isExecutable = true;
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
@@ -21,4 +18,4 @@ mkDerivation {
21 homepage = "http://github.com/jgm/texmath";
18 homepage = "http://github.com/jgm/texmath";
22 description = "Conversion between formats used to represent mathematics";
19 description = "Conversion between formats used to represent mathematics";
23 license = "GPL";
20 license = "GPL";
24−}
21+}
test/golden-test-cases/text-icu.nix.golden+4−8
@@ -1,15 +1,11 @@
1{ mkDerivation, array, base, bytestring, deepseq, directory
1{ mkDerivation, array, base, bytestring, deepseq, directory
2−, fetchurl, ghc-prim, HUnit, icu, QuickCheck, random
2+, ghc-prim, HUnit, icu, QuickCheck, random, stdenv, test-framework
3−, test-framework, test-framework-hunit, test-framework-quickcheck2
3+, test-framework-hunit, test-framework-quickcheck2, text
4−, text
5}:
4}:
6mkDerivation {
5mkDerivation {
7 pname = "text-icu";
6 pname = "text-icu";
8 version = "0.7.0.1";
7 version = "0.7.0.1";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
8+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [ base bytestring deepseq text ];
9 libraryHaskellDepends = [ base bytestring deepseq text ];
14 librarySystemDepends = [ icu ];
10 librarySystemDepends = [ icu ];
15 testHaskellDepends = [
11 testHaskellDepends = [
@@ -20,4 +16,4 @@ mkDerivation {
20 homepage = "https://github.com/bos/text-icu";
16 homepage = "https://github.com/bos/text-icu";
21 description = "Bindings to the ICU library";
17 description = "Bindings to the ICU library";
22 license = stdenv.lib.licenses.bsd3;
18 license = stdenv.lib.licenses.bsd3;
23−}
19+}
test/golden-test-cases/text-postgresql.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, dlist, fetchurl, QuickCheck
1+{ mkDerivation, base, dlist, QuickCheck, quickcheck-simple, stdenv
2−, quickcheck-simple, transformers, transformers-compat
2+, transformers, transformers-compat
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "text-postgresql";
5 pname = "text-postgresql";
6 version = "0.0.2.3";
6 version = "0.0.2.3";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base dlist transformers transformers-compat
9 base dlist transformers transformers-compat
13 ];
10 ];
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "http://khibino.github.io/haskell-relational-record/";
12 homepage = "http://khibino.github.io/haskell-relational-record/";
16 description = "Parser and Printer of PostgreSQL extended types";
13 description = "Parser and Printer of PostgreSQL extended types";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/th-expand-syns.nix.golden+3−7
@@ -1,15 +1,11 @@
1−{ mkDerivation, base, containers, fetchurl, syb, template-haskell
1+{ mkDerivation, base, containers, stdenv, syb, template-haskell }:
2−}:
3mkDerivation {
2mkDerivation {
4 pname = "th-expand-syns";
3 pname = "th-expand-syns";
5 version = "0.4.4.0";
4 version = "0.4.4.0";
6− src = fetchurl {
7− url = "http://example.org/";
8− sha256 = "abc";
5+ sha256 = "deadbeef";
9− };
10 libraryHaskellDepends = [ base containers syb template-haskell ];
6 libraryHaskellDepends = [ base containers syb template-haskell ];
11 testHaskellDepends = [ base template-haskell ];
7 testHaskellDepends = [ base template-haskell ];
12 homepage = "https://github.com/DanielSchuessler/th-expand-syns";
8 homepage = "https://github.com/DanielSchuessler/th-expand-syns";
13 description = "Expands type synonyms in Template Haskell ASTs";
9 description = "Expands type synonyms in Template Haskell ASTs";
14 license = stdenv.lib.licenses.bsd3;
10 license = stdenv.lib.licenses.bsd3;
15−}
11+}
test/golden-test-cases/these.nix.golden+5−8
@@ -1,16 +1,13 @@
1{ mkDerivation, aeson, base, bifunctors, binary, containers
1{ mkDerivation, aeson, base, bifunctors, binary, containers
2−, data-default-class, deepseq, fetchurl, hashable, keys, mtl
2+, data-default-class, deepseq, hashable, keys, mtl, profunctors
3−, profunctors, QuickCheck, quickcheck-instances, semigroupoids
3+, QuickCheck, quickcheck-instances, semigroupoids, stdenv, tasty
4−, tasty, tasty-quickcheck, transformers, transformers-compat
4+, tasty-quickcheck, transformers, transformers-compat
5, unordered-containers, vector, vector-instances
5, unordered-containers, vector, vector-instances
6}:
6}:
7mkDerivation {
7mkDerivation {
8 pname = "these";
8 pname = "these";
9 version = "0.7.4";
9 version = "0.7.4";
10− src = fetchurl {
11− url = "http://example.org/";
12− sha256 = "abc";
10+ sha256 = "deadbeef";
13− };
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
15 aeson base bifunctors binary containers data-default-class deepseq
12 aeson base bifunctors binary containers data-default-class deepseq
16 hashable keys mtl profunctors QuickCheck semigroupoids transformers
13 hashable keys mtl profunctors QuickCheck semigroupoids transformers
@@ -24,4 +21,4 @@ mkDerivation {
24 homepage = "https://github.com/isomorphism/these";
21 homepage = "https://github.com/isomorphism/these";
25 description = "An either-or-both data type & a generalized 'zip with padding' typeclass";
22 description = "An either-or-both data type & a generalized 'zip with padding' typeclass";
26 license = stdenv.lib.licenses.bsd3;
23 license = stdenv.lib.licenses.bsd3;
27−}
24+}
test/golden-test-cases/timezone-series.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, deepseq, fetchurl, time }:
1+{ mkDerivation, base, deepseq, stdenv, time }:
2mkDerivation {
2mkDerivation {
3 pname = "timezone-series";
3 pname = "timezone-series";
4 version = "0.1.8";
4 version = "0.1.8";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base deepseq time ];
6 libraryHaskellDepends = [ base deepseq time ];
10 homepage = "http://projects.haskell.org/time-ng/";
7 homepage = "http://projects.haskell.org/time-ng/";
11 description = "Enhanced timezone handling for Data.Time";
8 description = "Enhanced timezone handling for Data.Time";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/transformers-compat.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, ghc-prim, transformers }:
1+{ mkDerivation, base, ghc-prim, stdenv, transformers }:
2mkDerivation {
2mkDerivation {
3 pname = "transformers-compat";
3 pname = "transformers-compat";
4 version = "0.5.1.4";
4 version = "0.5.1.4";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ghc-prim transformers ];
6 libraryHaskellDepends = [ base ghc-prim transformers ];
10 homepage = "http://github.com/ekmett/transformers-compat/";
7 homepage = "http://github.com/ekmett/transformers-compat/";
11 description = "A small compatibility shim exposing the new types from transformers 0.3 and 0.4 to older Haskell platforms.";
8 description = "A small compatibility shim exposing the new types from transformers 0.3 and 0.4 to older Haskell platforms.";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/transformers-lift.nix.golden+3−7
@@ -1,16 +1,12 @@
1−{ mkDerivation, base, fetchurl, transformers
1+{ mkDerivation, base, stdenv, transformers, writer-cps-transformers
2−, writer-cps-transformers
3}:
2}:
4mkDerivation {
3mkDerivation {
5 pname = "transformers-lift";
4 pname = "transformers-lift";
6 version = "0.2.0.1";
5 version = "0.2.0.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
6+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
7 libraryHaskellDepends = [
12 base transformers writer-cps-transformers
8 base transformers writer-cps-transformers
13 ];
9 ];
14 description = "Ad-hoc type classes for lifting";
10 description = "Ad-hoc type classes for lifting";
15 license = stdenv.lib.licenses.bsd3;
11 license = stdenv.lib.licenses.bsd3;
16−}
12+}
test/golden-test-cases/tree-fun.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, containers, fetchurl, mtl }:
1+{ mkDerivation, base, containers, mtl, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "tree-fun";
3 pname = "tree-fun";
4 version = "0.8.1.0";
4 version = "0.8.1.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base containers mtl ];
6 libraryHaskellDepends = [ base containers mtl ];
10 description = "Library for functions pertaining to tree exploration and manipulation";
7 description = "Library for functions pertaining to tree exploration and manipulation";
11 license = stdenv.lib.licenses.gpl3;
8 license = stdenv.lib.licenses.gpl3;
12−}
9+}
test/golden-test-cases/ttrie.nix.golden+4−7
@@ -1,16 +1,13 @@
1{ mkDerivation, async, atomic-primops, base, bifunctors, containers
1{ mkDerivation, async, atomic-primops, base, bifunctors, containers
2−, criterion-plus, deepseq, fetchurl, hashable, mwc-random
2+, criterion-plus, deepseq, hashable, mwc-random, primitive
3−, primitive, QuickCheck, stm, stm-containers, stm-stats
3+, QuickCheck, stdenv, stm, stm-containers, stm-stats
4, test-framework, test-framework-quickcheck2, text, transformers
4, test-framework, test-framework-quickcheck2, text, transformers
5, unordered-containers, vector
5, unordered-containers, vector
6}:
6}:
7mkDerivation {
7mkDerivation {
8 pname = "ttrie";
8 pname = "ttrie";
9 version = "0.1.2.1";
9 version = "0.1.2.1";
10− src = fetchurl {
11− url = "http://example.org/";
12− sha256 = "abc";
10+ sha256 = "deadbeef";
13− };
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
15 atomic-primops base hashable primitive stm
12 atomic-primops base hashable primitive stm
16 ];
13 ];
@@ -26,4 +23,4 @@ mkDerivation {
26 homepage = "http://github.com/mcschroeder/ttrie";
23 homepage = "http://github.com/mcschroeder/ttrie";
27 description = "Contention-free STM hash map";
24 description = "Contention-free STM hash map";
28 license = stdenv.lib.licenses.mit;
25 license = stdenv.lib.licenses.mit;
29−}
26+}
test/golden-test-cases/tuple-th.nix.golden+3−6
@@ -1,12 +1,9 @@
1−{ mkDerivation, base, containers, fetchurl, template-haskell }:
1+{ mkDerivation, base, containers, stdenv, template-haskell }:
2mkDerivation {
2mkDerivation {
3 pname = "tuple-th";
3 pname = "tuple-th";
4 version = "0.2.5";
4 version = "0.2.5";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base containers template-haskell ];
6 libraryHaskellDepends = [ base containers template-haskell ];
10 description = "Generate (non-recursive) utility functions for tuples of statically known size";
7 description = "Generate (non-recursive) utility functions for tuples of statically known size";
11 license = stdenv.lib.licenses.bsd3;
8 license = stdenv.lib.licenses.bsd3;
12−}
9+}
test/golden-test-cases/tuples-homogenous-h98.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl }:
1+{ mkDerivation, base, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "tuples-homogenous-h98";
3 pname = "tuples-homogenous-h98";
4 version = "0.1.1.0";
4 version = "0.1.1.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 homepage = "https://github.com/ppetr/tuples-homogenous-h98";
7 homepage = "https://github.com/ppetr/tuples-homogenous-h98";
11 description = "Wrappers for n-ary tuples with Traversable and Applicative/Monad instances";
8 description = "Wrappers for n-ary tuples with Traversable and Applicative/Monad instances";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/turtle-options.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, HUnit, optional-args, parsec, text
1+{ mkDerivation, base, HUnit, optional-args, parsec, stdenv, text
2, turtle
2, turtle
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "turtle-options";
5 pname = "turtle-options";
6 version = "0.1.0.4";
6 version = "0.1.0.4";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 isLibrary = true;
8 isLibrary = true;
12 isExecutable = true;
9 isExecutable = true;
13 libraryHaskellDepends = [ base optional-args parsec text turtle ];
10 libraryHaskellDepends = [ base optional-args parsec text turtle ];
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/elaye/turtle-options#readme";
13 homepage = "https://github.com/elaye/turtle-options#readme";
17 description = "Collection of command line options and parsers for these options";
14 description = "Collection of command line options and parsers for these options";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/type-operators.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, ghc-prim }:
1+{ mkDerivation, base, ghc-prim, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "type-operators";
3 pname = "type-operators";
4 version = "0.1.0.4";
4 version = "0.1.0.4";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ghc-prim ];
6 libraryHaskellDepends = [ base ghc-prim ];
10 homepage = "https://github.com/Shou/type-operators#readme";
7 homepage = "https://github.com/Shou/type-operators#readme";
11 description = "Various type-level operators";
8 description = "Various type-level operators";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/type-spec.nix.golden+3−6
@@ -1,14 +1,11 @@
1−{ mkDerivation, base, fetchurl, pretty }:
1+{ mkDerivation, base, pretty, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "type-spec";
3 pname = "type-spec";
4 version = "0.3.0.1";
4 version = "0.3.0.1";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base pretty ];
6 libraryHaskellDepends = [ base pretty ];
10 testHaskellDepends = [ base ];
7 testHaskellDepends = [ base ];
11 homepage = "https://github.com/sheyll/type-spec#readme";
8 homepage = "https://github.com/sheyll/type-spec#readme";
12 description = "Type Level Specification by Example";
9 description = "Type Level Specification by Example";
13 license = stdenv.lib.licenses.bsd3;
10 license = stdenv.lib.licenses.bsd3;
14−}
11+}
test/golden-test-cases/unicode-show.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, HUnit, QuickCheck, test-framework
1+{ mkDerivation, base, HUnit, QuickCheck, stdenv, test-framework
2, test-framework-hunit, test-framework-quickcheck2
2, test-framework-hunit, test-framework-quickcheck2
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "unicode-show";
5 pname = "unicode-show";
6 version = "0.1.0.2";
6 version = "0.1.0.2";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base ];
8 libraryHaskellDepends = [ base ];
12 testHaskellDepends = [
9 testHaskellDepends = [
13 base HUnit QuickCheck test-framework test-framework-hunit
10 base HUnit QuickCheck test-framework test-framework-hunit
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "http://github.com/nushio3/unicode-show#readme";
13 homepage = "http://github.com/nushio3/unicode-show#readme";
17 description = "print and show in unicode";
14 description = "print and show in unicode";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/unique.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, ghc-prim, hashable }:
1+{ mkDerivation, base, ghc-prim, hashable, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "unique";
3 pname = "unique";
4 version = "0";
4 version = "0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ghc-prim hashable ];
6 libraryHaskellDepends = [ base ghc-prim hashable ];
10 homepage = "http://github.com/ekmett/unique/";
7 homepage = "http://github.com/ekmett/unique/";
11 description = "Fully concurrent unique identifiers";
8 description = "Fully concurrent unique identifiers";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/unix-bytestring.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, fetchurl }:
1+{ mkDerivation, base, bytestring, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "unix-bytestring";
3 pname = "unix-bytestring";
4 version = "0.3.7.3";
4 version = "0.3.7.3";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base bytestring ];
6 libraryHaskellDepends = [ base bytestring ];
10 homepage = "http://code.haskell.org/~wren/";
7 homepage = "http://code.haskell.org/~wren/";
11 description = "Unix/Posix-specific functions for ByteStrings";
8 description = "Unix/Posix-specific functions for ByteStrings";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/unlit.nix.golden+3−6
@@ -1,15 +1,12 @@
1−{ mkDerivation, base, directory, fetchurl, text }:
1+{ mkDerivation, base, directory, stdenv, text }:
2mkDerivation {
2mkDerivation {
3 pname = "unlit";
3 pname = "unlit";
4 version = "0.4.0.0";
4 version = "0.4.0.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 isLibrary = true;
6 isLibrary = true;
10 isExecutable = true;
7 isExecutable = true;
11 libraryHaskellDepends = [ base directory text ];
8 libraryHaskellDepends = [ base directory text ];
12 executableHaskellDepends = [ base directory text ];
9 executableHaskellDepends = [ base directory text ];
13 description = "Tool to convert literate code between styles or to code";
10 description = "Tool to convert literate code between styles or to code";
14 license = stdenv.lib.licenses.bsd3;
11 license = stdenv.lib.licenses.bsd3;
15−}
12+}
test/golden-test-cases/utility-ht.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, fetchurl, QuickCheck }:
1+{ mkDerivation, base, QuickCheck, stdenv }:
2mkDerivation {
2mkDerivation {
3 pname = "utility-ht";
3 pname = "utility-ht";
4 version = "0.0.14";
4 version = "0.0.14";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base ];
6 libraryHaskellDepends = [ base ];
10 testHaskellDepends = [ base QuickCheck ];
7 testHaskellDepends = [ base QuickCheck ];
11 description = "Various small helper functions for Lists, Maybes, Tuples, Functions";
8 description = "Various small helper functions for Lists, Maybes, Tuples, Functions";
12 license = stdenv.lib.licenses.bsd3;
9 license = stdenv.lib.licenses.bsd3;
13−}
10+}
test/golden-test-cases/validity-aeson.nix.golden+4−8
@@ -1,14 +1,10 @@
1−{ mkDerivation, aeson, base, fetchurl, validity
1+{ mkDerivation, aeson, base, stdenv, validity, validity-scientific
2−, validity-scientific, validity-text, validity-unordered-containers
2+, validity-text, validity-unordered-containers, validity-vector
3−, validity-vector
4}:
3}:
5mkDerivation {
4mkDerivation {
6 pname = "validity-aeson";
5 pname = "validity-aeson";
7 version = "0.1.0.0";
6 version = "0.1.0.0";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
7+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
8 libraryHaskellDepends = [
13 aeson base validity validity-scientific validity-text
9 aeson base validity validity-scientific validity-text
14 validity-unordered-containers validity-vector
10 validity-unordered-containers validity-vector
@@ -16,4 +12,4 @@ mkDerivation {
16 homepage = "https://github.com/NorfairKing/validity#readme";
12 homepage = "https://github.com/NorfairKing/validity#readme";
17 description = "Validity instances for aeson";
13 description = "Validity instances for aeson";
18 license = stdenv.lib.licenses.mit;
14 license = stdenv.lib.licenses.mit;
19−}
15+}
test/golden-test-cases/validity-containers.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, containers, fetchurl, validity }:
1+{ mkDerivation, base, containers, stdenv, validity }:
2mkDerivation {
2mkDerivation {
3 pname = "validity-containers";
3 pname = "validity-containers";
4 version = "0.2.0.0";
4 version = "0.2.0.0";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base containers validity ];
6 libraryHaskellDepends = [ base containers validity ];
10 homepage = "https://github.com/NorfairKing/validity#readme";
7 homepage = "https://github.com/NorfairKing/validity#readme";
11 description = "Validity instances for containers";
8 description = "Validity instances for containers";
12 license = stdenv.lib.licenses.mit;
9 license = stdenv.lib.licenses.mit;
13−}
10+}
test/golden-test-cases/vector-mmap.nix.golden+3−6
@@ -1,16 +1,13 @@
1−{ mkDerivation, base, fetchurl, mmap, primitive, QuickCheck
1+{ mkDerivation, base, mmap, primitive, QuickCheck, stdenv
2, temporary, vector
2, temporary, vector
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "vector-mmap";
5 pname = "vector-mmap";
6 version = "0.0.3";
6 version = "0.0.3";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base mmap primitive vector ];
8 libraryHaskellDepends = [ base mmap primitive vector ];
12 testHaskellDepends = [ base QuickCheck temporary vector ];
9 testHaskellDepends = [ base QuickCheck temporary vector ];
13 homepage = "http://github.com/pumpkin/vector-mmap";
10 homepage = "http://github.com/pumpkin/vector-mmap";
14 description = "Memory map immutable and mutable vectors";
11 description = "Memory map immutable and mutable vectors";
15 license = stdenv.lib.licenses.bsd3;
12 license = stdenv.lib.licenses.bsd3;
16−}
13+}
test/golden-test-cases/vivid-supercollider.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, binary, bytestring, cereal, fetchurl
1+{ mkDerivation, base, binary, bytestring, cereal, microspec
2−, microspec, QuickCheck, split, utf8-string, vivid-osc
2+, QuickCheck, split, stdenv, utf8-string, vivid-osc
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "vivid-supercollider";
5 pname = "vivid-supercollider";
6 version = "0.3.0.0";
6 version = "0.3.0.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base binary bytestring cereal split utf8-string vivid-osc
9 base binary bytestring cereal split utf8-string vivid-osc
13 ];
10 ];
@@ -17,4 +14,4 @@ mkDerivation {
17 ];
14 ];
18 description = "Implementation of SuperCollider server specifications";
15 description = "Implementation of SuperCollider server specifications";
19 license = "GPL";
16 license = "GPL";
20−}
17+}
test/golden-test-cases/vty.nix.golden+6−9
@@ -1,18 +1,15 @@
1{ mkDerivation, base, blaze-builder, bytestring, Cabal, containers
1{ mkDerivation, base, blaze-builder, bytestring, Cabal, containers
2−, deepseq, directory, fetchurl, filepath, hashable, HUnit
2+, deepseq, directory, filepath, hashable, HUnit, microlens
3−, microlens, microlens-mtl, microlens-th, mtl, parallel, parsec
3+, microlens-mtl, microlens-th, mtl, parallel, parsec, QuickCheck
4−, QuickCheck, quickcheck-assertions, random, smallcheck, stm
4+, quickcheck-assertions, random, smallcheck, stdenv, stm, string-qq
5−, string-qq, terminfo, test-framework, test-framework-hunit
5+, terminfo, test-framework, test-framework-hunit
6, test-framework-smallcheck, text, transformers, unix, utf8-string
6, test-framework-smallcheck, text, transformers, unix, utf8-string
7, vector
7, vector
8}:
8}:
9mkDerivation {
9mkDerivation {
10 pname = "vty";
10 pname = "vty";
11 version = "5.19.1";
11 version = "5.19.1";
12− src = fetchurl {
13− url = "http://example.org/";
14− sha256 = "abc";
12+ sha256 = "deadbeef";
15− };
16 isLibrary = true;
13 isLibrary = true;
17 isExecutable = true;
14 isExecutable = true;
18 libraryHaskellDepends = [
15 libraryHaskellDepends = [
@@ -33,4 +30,4 @@ mkDerivation {
33 homepage = "https://github.com/jtdaugherty/vty";
30 homepage = "https://github.com/jtdaugherty/vty";
34 description = "A simple terminal UI library";
31 description = "A simple terminal UI library";
35 license = stdenv.lib.licenses.bsd3;
32 license = stdenv.lib.licenses.bsd3;
36−}
33+}
test/golden-test-cases/wai-cors.nix.golden+4−7
@@ -1,15 +1,12 @@
1{ mkDerivation, attoparsec, base, base-unicode-symbols, bytestring
1{ mkDerivation, attoparsec, base, base-unicode-symbols, bytestring
2−, case-insensitive, directory, fetchurl, filepath, http-types, mtl
2+, case-insensitive, directory, filepath, http-types, mtl, network
3−, network, process, tasty, tasty-hunit, text, transformers, wai
3+, process, stdenv, tasty, tasty-hunit, text, transformers, wai
4, wai-extra, wai-websockets, warp, websockets
4, wai-extra, wai-websockets, warp, websockets
5}:
5}:
6mkDerivation {
6mkDerivation {
7 pname = "wai-cors";
7 pname = "wai-cors";
8 version = "0.2.6";
8 version = "0.2.6";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
9+ sha256 = "deadbeef";
12− };
13 enableSeparateDataOutput = true;
10 enableSeparateDataOutput = true;
14 libraryHaskellDepends = [
11 libraryHaskellDepends = [
15 attoparsec base base-unicode-symbols bytestring case-insensitive
12 attoparsec base base-unicode-symbols bytestring case-insensitive
@@ -23,4 +20,4 @@ mkDerivation {
23 homepage = "https://github.com/larskuhtz/wai-cors";
20 homepage = "https://github.com/larskuhtz/wai-cors";
24 description = "CORS for WAI";
21 description = "CORS for WAI";
25 license = stdenv.lib.licenses.mit;
22 license = stdenv.lib.licenses.mit;
26−}
23+}
test/golden-test-cases/wai-middleware-auth.nix.golden+6−9
@@ -1,18 +1,15 @@
1{ mkDerivation, aeson, base, base64-bytestring, binary
1{ mkDerivation, aeson, base, base64-bytestring, binary
2, blaze-builder, blaze-html, bytestring, case-insensitive, cereal
2, blaze-builder, blaze-html, bytestring, case-insensitive, cereal
3−, clientsession, cookie, exceptions, fetchurl, hoauth2, http-client
3+, clientsession, cookie, exceptions, hoauth2, http-client
4, http-client-tls, http-conduit, http-reverse-proxy, http-types
4, http-client-tls, http-conduit, http-reverse-proxy, http-types
5−, optparse-simple, regex-posix, safe-exceptions, shakespeare, text
5+, optparse-simple, regex-posix, safe-exceptions, shakespeare
6−, unix-compat, unordered-containers, uri-bytestring, vault, wai
6+, stdenv, text, unix-compat, unordered-containers, uri-bytestring
7−, wai-app-static, wai-extra, warp, yaml
7+, vault, wai, wai-app-static, wai-extra, warp, yaml
8}:
8}:
9mkDerivation {
9mkDerivation {
10 pname = "wai-middleware-auth";
10 pname = "wai-middleware-auth";
11 version = "0.1.2.1";
11 version = "0.1.2.1";
12− src = fetchurl {
13− url = "http://example.org/";
14− sha256 = "abc";
12+ sha256 = "deadbeef";
15− };
16 isLibrary = true;
13 isLibrary = true;
17 isExecutable = true;
14 isExecutable = true;
18 libraryHaskellDepends = [
15 libraryHaskellDepends = [
@@ -28,4 +25,4 @@ mkDerivation {
28 ];
25 ];
29 description = "Authentication middleware that secures WAI application";
26 description = "Authentication middleware that secures WAI application";
30 license = stdenv.lib.licenses.mit;
27 license = stdenv.lib.licenses.mit;
31−}
28+}
test/golden-test-cases/wai-middleware-caching-redis.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, blaze-builder, bytestring, fetchurl, hedis
1+{ mkDerivation, base, blaze-builder, bytestring, hedis, http-types
2−, http-types, text, wai, wai-middleware-caching
2+, stdenv, text, wai, wai-middleware-caching
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "wai-middleware-caching-redis";
5 pname = "wai-middleware-caching-redis";
6 version = "0.2.0.0";
6 version = "0.2.0.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base blaze-builder bytestring hedis http-types text wai
9 base blaze-builder bytestring hedis http-types text wai
13 wai-middleware-caching
10 wai-middleware-caching
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "http://github.com/yogsototh/wai-middleware-caching/tree/master/wai-middleware-caching-redis#readme";
13 homepage = "http://github.com/yogsototh/wai-middleware-caching/tree/master/wai-middleware-caching-redis#readme";
17 description = "Cache Wai Middleware using Redis backend";
14 description = "Cache Wai Middleware using Redis backend";
18 license = stdenv.lib.licenses.bsd3;
15 license = stdenv.lib.licenses.bsd3;
19−}
16+}
test/golden-test-cases/wai-middleware-prometheus.nix.golden+3−6
@@ -1,13 +1,10 @@
1{ mkDerivation, base, bytestring, clock, data-default, doctest
1{ mkDerivation, base, bytestring, clock, data-default, doctest
2−, fetchurl, http-types, prometheus-client, text, wai
2+, http-types, prometheus-client, stdenv, text, wai
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "wai-middleware-prometheus";
5 pname = "wai-middleware-prometheus";
6 version = "0.3.0";
6 version = "0.3.0";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base bytestring clock data-default http-types prometheus-client
9 base bytestring clock data-default http-types prometheus-client
13 text wai
10 text wai
@@ -16,4 +13,4 @@ mkDerivation {
16 homepage = "https://github.com/fimad/prometheus-haskell";
13 homepage = "https://github.com/fimad/prometheus-haskell";
17 description = "WAI middlware for exposing http://prometheus.io metrics.";
14 description = "WAI middlware for exposing http://prometheus.io metrics.";
18 license = stdenv.lib.licenses.asl20;
15 license = stdenv.lib.licenses.asl20;
19−}
16+}
test/golden-test-cases/warp.nix.golden+7−10
@@ -1,18 +1,15 @@
1{ mkDerivation, array, async, auto-update, base, blaze-builder
1{ mkDerivation, array, async, auto-update, base, blaze-builder
2, bytestring, bytestring-builder, case-insensitive, containers
2, bytestring, bytestring-builder, case-insensitive, containers
3−, criterion, directory, doctest, fetchurl, ghc-prim, hashable
3+, criterion, directory, doctest, ghc-prim, hashable, hspec, HTTP
4−, hspec, HTTP, http-date, http-types, http2, HUnit, iproute
4+, http-date, http-types, http2, HUnit, iproute, lifted-base
5−, lifted-base, network, process, QuickCheck, silently
5+, network, process, QuickCheck, silently, simple-sendfile, stdenv
6−, simple-sendfile, stm, streaming-commons, text, time, transformers
6+, stm, streaming-commons, text, time, transformers, unix
7−, unix, unix-compat, vault, wai, word8
7+, unix-compat, vault, wai, word8
8}:
8}:
9mkDerivation {
9mkDerivation {
10 pname = "warp";
10 pname = "warp";
11 version = "3.2.13";
11 version = "3.2.13";
12− src = fetchurl {
13− url = "http://example.org/";
14− sha256 = "abc";
12+ sha256 = "deadbeef";
15− };
16 libraryHaskellDepends = [
13 libraryHaskellDepends = [
17 array async auto-update base blaze-builder bytestring
14 array async auto-update base blaze-builder bytestring
18 bytestring-builder case-insensitive containers ghc-prim hashable
15 bytestring-builder case-insensitive containers ghc-prim hashable
@@ -34,4 +31,4 @@ mkDerivation {
34 homepage = "http://github.com/yesodweb/wai";
31 homepage = "http://github.com/yesodweb/wai";
35 description = "A fast, light-weight web server for WAI applications";
32 description = "A fast, light-weight web server for WAI applications";
36 license = stdenv.lib.licenses.mit;
33 license = stdenv.lib.licenses.mit;
37−}
34+}
test/golden-test-cases/weigh.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, deepseq, fetchurl, mtl, process, split
1+{ mkDerivation, base, deepseq, mtl, process, split, stdenv
2, template-haskell, temporary
2, template-haskell, temporary
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "weigh";
5 pname = "weigh";
6 version = "0.0.7";
6 version = "0.0.7";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base deepseq mtl process split template-haskell temporary
9 base deepseq mtl process split template-haskell temporary
13 ];
10 ];
@@ -15,4 +12,4 @@ mkDerivation {
15 homepage = "https://github.com/fpco/weigh#readme";
12 homepage = "https://github.com/fpco/weigh#readme";
16 description = "Measure allocations of a Haskell functions/values";
13 description = "Measure allocations of a Haskell functions/values";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}
test/golden-test-cases/xml-hamlet.nix.golden+4−7
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, containers, fetchurl, hspec, HUnit, parsec
1+{ mkDerivation, base, containers, hspec, HUnit, parsec, shakespeare
2−, shakespeare, template-haskell, text, xml-conduit
2+, stdenv, template-haskell, text, xml-conduit
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "xml-hamlet";
5 pname = "xml-hamlet";
6 version = "0.4.1.1";
6 version = "0.4.1.1";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base containers parsec shakespeare template-haskell text
9 base containers parsec shakespeare template-haskell text
13 xml-conduit
10 xml-conduit
@@ -19,4 +16,4 @@ mkDerivation {
19 homepage = "http://www.yesodweb.com/";
16 homepage = "http://www.yesodweb.com/";
20 description = "Hamlet-style quasiquoter for XML content";
17 description = "Hamlet-style quasiquoter for XML content";
21 license = stdenv.lib.licenses.bsd3;
18 license = stdenv.lib.licenses.bsd3;
22−}
19+}
test/golden-test-cases/xmonad-contrib.nix.golden+4−8
@@ -1,15 +1,11 @@
1{ mkDerivation, base, bytestring, containers, directory
1{ mkDerivation, base, bytestring, containers, directory
2−, extensible-exceptions, fetchurl, filepath, mtl, old-locale
2+, extensible-exceptions, filepath, mtl, old-locale, old-time
3−, old-time, process, random, unix, utf8-string, X11, X11-xft
3+, process, random, stdenv, unix, utf8-string, X11, X11-xft, xmonad
4−, xmonad
5}:
4}:
6mkDerivation {
5mkDerivation {
7 pname = "xmonad-contrib";
6 pname = "xmonad-contrib";
8 version = "0.13";
7 version = "0.13";
9− src = fetchurl {
10− url = "http://example.org/";
11− sha256 = "abc";
8+ sha256 = "deadbeef";
12− };
13 libraryHaskellDepends = [
9 libraryHaskellDepends = [
14 base bytestring containers directory extensible-exceptions filepath
10 base bytestring containers directory extensible-exceptions filepath
15 mtl old-locale old-time process random unix utf8-string X11 X11-xft
11 mtl old-locale old-time process random unix utf8-string X11 X11-xft
@@ -18,4 +14,4 @@ mkDerivation {
18 homepage = "http://xmonad.org/";
14 homepage = "http://xmonad.org/";
19 description = "Third party extensions for xmonad";
15 description = "Third party extensions for xmonad";
20 license = stdenv.lib.licenses.bsd3;
16 license = stdenv.lib.licenses.bsd3;
21−}
17+}
test/golden-test-cases/yahoo-finance-api.nix.golden+4−7
@@ -1,14 +1,11 @@
1−{ mkDerivation, aeson, base, doctest, either, fetchurl, Glob, hspec
1+{ mkDerivation, aeson, base, doctest, either, Glob, hspec
2, http-api-data, http-client, http-client-tls, mtl, safe, servant
2, http-api-data, http-client, http-client-tls, mtl, safe, servant
3−, servant-client, text, time, transformers, vector
3+, servant-client, stdenv, text, time, transformers, vector
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "yahoo-finance-api";
6 pname = "yahoo-finance-api";
7 version = "0.2.0.3";
7 version = "0.2.0.3";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
8+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
9 libraryHaskellDepends = [
13 aeson base either http-api-data http-client mtl servant
10 aeson base either http-api-data http-client mtl servant
14 servant-client text time transformers vector
11 servant-client text time transformers vector
@@ -20,4 +17,4 @@ mkDerivation {
20 homepage = "https://github.com/cdepillabout/yahoo-finance-api";
17 homepage = "https://github.com/cdepillabout/yahoo-finance-api";
21 description = "Read quotes from Yahoo Finance API";
18 description = "Read quotes from Yahoo Finance API";
22 license = stdenv.lib.licenses.bsd3;
19 license = stdenv.lib.licenses.bsd3;
23−}
20+}
test/golden-test-cases/yesod-form-bootstrap4.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, classy-prelude-yesod, fetchurl, yesod-form }:
1+{ mkDerivation, base, classy-prelude-yesod, stdenv, yesod-form }:
2mkDerivation {
2mkDerivation {
3 pname = "yesod-form-bootstrap4";
3 pname = "yesod-form-bootstrap4";
4 version = "0.1.0.2";
4 version = "0.1.0.2";
5− src = fetchurl {
6− url = "http://example.org/";
7− sha256 = "abc";
5+ sha256 = "deadbeef";
8− };
9 libraryHaskellDepends = [ base classy-prelude-yesod yesod-form ];
6 libraryHaskellDepends = [ base classy-prelude-yesod yesod-form ];
10 homepage = "https://github.com/ncaq/yesod-form-bootstrap4#readme";
7 homepage = "https://github.com/ncaq/yesod-form-bootstrap4#readme";
11 description = "renderBootstrap4";
8 description = "renderBootstrap4";
12 license = stdenv.lib.licenses.mit;
9 license = stdenv.lib.licenses.mit;
13−}
10+}
test/golden-test-cases/yesod-gitrepo.nix.golden+4−8
@@ -1,14 +1,10 @@
1−{ mkDerivation, base, directory, enclosed-exceptions, fetchurl
1+{ mkDerivation, base, directory, enclosed-exceptions, http-types
2−, http-types, lifted-base, process, temporary, text, wai
2+, lifted-base, process, stdenv, temporary, text, wai, yesod-core
3−, yesod-core
4}:
3}:
5mkDerivation {
4mkDerivation {
6 pname = "yesod-gitrepo";
5 pname = "yesod-gitrepo";
7 version = "0.2.1.0";
6 version = "0.2.1.0";
8− src = fetchurl {
9− url = "http://example.org/";
10− sha256 = "abc";
7+ sha256 = "deadbeef";
11− };
12 libraryHaskellDepends = [
8 libraryHaskellDepends = [
13 base directory enclosed-exceptions http-types lifted-base process
9 base directory enclosed-exceptions http-types lifted-base process
14 temporary text wai yesod-core
10 temporary text wai yesod-core
@@ -16,4 +12,4 @@ mkDerivation {
16 homepage = "https://github.com/snoyberg/yesod-gitrepo";
12 homepage = "https://github.com/snoyberg/yesod-gitrepo";
17 description = "Host content provided by a Git repo";
13 description = "Host content provided by a Git repo";
18 license = stdenv.lib.licenses.mit;
14 license = stdenv.lib.licenses.mit;
19−}
15+}
test/golden-test-cases/yesod-recaptcha2.nix.golden+3−6
@@ -1,17 +1,14 @@
1−{ mkDerivation, base, classy-prelude-yesod, fetchurl, http-conduit
1+{ mkDerivation, base, classy-prelude-yesod, http-conduit, stdenv
2, yesod-auth
2, yesod-auth
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "yesod-recaptcha2";
5 pname = "yesod-recaptcha2";
6 version = "0.2.3";
6 version = "0.2.3";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [
8 libraryHaskellDepends = [
12 base classy-prelude-yesod http-conduit yesod-auth
9 base classy-prelude-yesod http-conduit yesod-auth
13 ];
10 ];
14 homepage = "https://github.com/ncaq/yesod-recaptcha2#readme";
11 homepage = "https://github.com/ncaq/yesod-recaptcha2#readme";
15 description = "yesod recaptcha2";
12 description = "yesod recaptcha2";
16 license = stdenv.lib.licenses.mit;
13 license = stdenv.lib.licenses.mit;
17−}
14+}
test/golden-test-cases/zlib.nix.golden+3−6
@@ -1,13 +1,10 @@
1−{ mkDerivation, base, bytestring, fetchurl, QuickCheck, tasty
1+{ mkDerivation, base, bytestring, QuickCheck, stdenv, tasty
2, tasty-hunit, tasty-quickcheck, zlib
2, tasty-hunit, tasty-quickcheck, zlib
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "zlib";
5 pname = "zlib";
6 version = "0.6.1.2";
6 version = "0.6.1.2";
7− src = fetchurl {
8− url = "http://example.org/";
9− sha256 = "abc";
7+ sha256 = "deadbeef";
10− };
11 libraryHaskellDepends = [ base bytestring ];
8 libraryHaskellDepends = [ base bytestring ];
12 librarySystemDepends = [ zlib ];
9 librarySystemDepends = [ zlib ];
13 testHaskellDepends = [
10 testHaskellDepends = [
@@ -15,4 +12,4 @@ mkDerivation {
15 ];
12 ];
16 description = "Compression and decompression in the gzip and zlib formats";
13 description = "Compression and decompression in the gzip and zlib formats";
17 license = stdenv.lib.licenses.bsd3;
14 license = stdenv.lib.licenses.bsd3;
18−}
15+}