git.iko.soy/typeable/cabal2nix
on master help sign in
test: update golden Nix files
4a0b859Peter Simons
test/golden-test-cases/SHA.nix.golden+2−3
@@ -1,5 +1,5 @@
1−{ mkDerivation, array, base, binary, bytestring, directory
1+{ mkDerivation, array, base, binary, bytestring, fetchurl
2−, fetchurl, QuickCheck, test-framework, test-framework-quickcheck2
2+, QuickCheck, test-framework, test-framework-quickcheck2
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "SHA";
5 pname = "SHA";
@@ -11,7 +11,6 @@ mkDerivation {
11 isLibrary = true;
11 isLibrary = true;
12 isExecutable = true;
12 isExecutable = true;
13 libraryHaskellDepends = [ array base binary bytestring ];
13 libraryHaskellDepends = [ array base binary bytestring ];
14− executableHaskellDepends = [ base bytestring directory ];
15 testHaskellDepends = [
14 testHaskellDepends = [
16 array base binary bytestring QuickCheck test-framework
15 array base binary bytestring QuickCheck test-framework
17 test-framework-quickcheck2
16 test-framework-quickcheck2
test/golden-test-cases/butcher.nix.golden−4
@@ -13,10 +13,6 @@ mkDerivation {
13 base bifunctors containers deque either extra free microlens
13 base bifunctors containers deque either extra free microlens
14 microlens-th mtl multistate pretty transformers unsafe void
14 microlens-th mtl multistate pretty transformers unsafe void
15 ];
15 ];
16− testHaskellDepends = [
17− base containers deque either extra free microlens microlens-th mtl
18− multistate pretty transformers unsafe
19− ];
20 homepage = "https://github.com/lspitzner/butcher/";
16 homepage = "https://github.com/lspitzner/butcher/";
21 description = "Chops a command or program invocation into digestable pieces";
17 description = "Chops a command or program invocation into digestable pieces";
22 license = stdenv.lib.licenses.bsd3;
18 license = stdenv.lib.licenses.bsd3;
test/golden-test-cases/giphy-api.nix.golden−1
@@ -17,7 +17,6 @@ mkDerivation {
17 microlens microlens-th mtl network-uri servant servant-client text
17 microlens microlens-th mtl network-uri servant servant-client text
18 transformers
18 transformers
19 ];
19 ];
20− executableHaskellDepends = [ base network-uri text ];
21 testHaskellDepends = [
20 testHaskellDepends = [
22 aeson base basic-prelude bytestring containers directory hspec lens
21 aeson base basic-prelude bytestring containers directory hspec lens
23 network-uri text
22 network-uri text
test/golden-test-cases/gl.nix.golden+2−2
@@ -1,5 +1,5 @@
1{ mkDerivation, base, Cabal, containers, directory, fetchurl
1{ mkDerivation, base, Cabal, containers, directory, fetchurl
2−, filepath, fixed, half, hxt, mesa, transformers
2+, filepath, fixed, half, hxt, libGL, transformers
3}:
3}:
4mkDerivation {
4mkDerivation {
5 pname = "gl";
5 pname = "gl";
@@ -14,7 +14,7 @@ mkDerivation {
14 libraryHaskellDepends = [
14 libraryHaskellDepends = [
15 base containers fixed half transformers
15 base containers fixed half transformers
16 ];
16 ];
17− librarySystemDepends = [ mesa ];
17+ librarySystemDepends = [ libGL ];
18 description = "Complete OpenGL raw bindings";
18 description = "Complete OpenGL raw bindings";
19 license = stdenv.lib.licenses.bsd3;
19 license = stdenv.lib.licenses.bsd3;
20}
20}
test/golden-test-cases/highlighting-kate.nix.golden−1
@@ -15,7 +15,6 @@ mkDerivation {
15 base blaze-html containers mtl parsec regex-pcre-builtin
15 base blaze-html containers mtl parsec regex-pcre-builtin
16 utf8-string
16 utf8-string
17 ];
17 ];
18− executableHaskellDepends = [ base blaze-html containers filepath ];
19 testHaskellDepends = [
18 testHaskellDepends = [
20 base blaze-html containers Diff directory filepath process
19 base blaze-html containers Diff directory filepath process
21 ];
20 ];
test/golden-test-cases/mwc-random.nix.golden+2−7
@@ -1,6 +1,5 @@
1−{ mkDerivation, base, fetchurl, HUnit, math-functions, primitive
1+{ mkDerivation, base, fetchurl, math-functions, primitive, time
2−, QuickCheck, statistics, test-framework, test-framework-hunit
2+, vector
3−, test-framework-quickcheck2, time, vector
4}:
3}:
5mkDerivation {
4mkDerivation {
6 pname = "mwc-random";
5 pname = "mwc-random";
@@ -12,10 +11,6 @@ mkDerivation {
12 libraryHaskellDepends = [
11 libraryHaskellDepends = [
13 base math-functions primitive time vector
12 base math-functions primitive time vector
14 ];
13 ];
15− testHaskellDepends = [
16− base HUnit QuickCheck statistics test-framework
17− test-framework-hunit test-framework-quickcheck2 vector
18− ];
19 doCheck = false;
14 doCheck = false;
20 homepage = "https://github.com/bos/mwc-random";
15 homepage = "https://github.com/bos/mwc-random";
21 description = "Fast, high quality pseudo random number generation";
16 description = "Fast, high quality pseudo random number generation";
test/golden-test-cases/servant-checked-exceptions.nix.golden+3−9
@@ -1,8 +1,7 @@
1{ mkDerivation, aeson, base, bytestring, deepseq, doctest, fetchurl
1{ mkDerivation, aeson, base, bytestring, deepseq, doctest, fetchurl
2−, Glob, hspec-wai, http-api-data, http-client, http-media
2+, Glob, hspec-wai, http-media, profunctors, servant, servant-client
3−, natural-transformation, optparse-applicative, profunctors
4−, servant, servant-client, servant-docs, servant-server, tagged
3+, servant-docs, servant-server, tagged, tasty, tasty-hspec
5−, tasty, tasty-hspec, tasty-hunit, text, wai, warp
4+, tasty-hunit, text, wai
6}:
5}:
7mkDerivation {
6mkDerivation {
8 pname = "servant-checked-exceptions";
7 pname = "servant-checked-exceptions";
@@ -17,11 +16,6 @@ mkDerivation {
17 aeson base bytestring deepseq http-media profunctors servant
16 aeson base bytestring deepseq http-media profunctors servant
18 servant-client servant-docs servant-server tagged text
17 servant-client servant-docs servant-server tagged text
19 ];
18 ];
20− executableHaskellDepends = [
21− aeson base http-api-data http-client natural-transformation
22− optparse-applicative servant servant-client servant-docs
23− servant-server text wai warp
24− ];
25 testHaskellDepends = [
19 testHaskellDepends = [
26 base bytestring doctest Glob hspec-wai servant servant-server tasty
20 base bytestring doctest Glob hspec-wai servant servant-server tasty
27 tasty-hspec tasty-hunit wai
21 tasty-hspec tasty-hunit wai
test/golden-test-cases/texmath.nix.golden+2−3
@@ -1,6 +1,6 @@
1{ mkDerivation, base, bytestring, containers, directory, fetchurl
1{ mkDerivation, base, bytestring, containers, directory, fetchurl
2−, filepath, mtl, network-uri, pandoc-types, parsec, process, split
2+, filepath, mtl, pandoc-types, parsec, process, split, syb
3−, syb, temporary, text, utf8-string, xml
3+, temporary, text, utf8-string, xml
4}:
4}:
5mkDerivation {
5mkDerivation {
6 pname = "texmath";
6 pname = "texmath";
@@ -14,7 +14,6 @@ mkDerivation {
14 libraryHaskellDepends = [
14 libraryHaskellDepends = [
15 base containers mtl pandoc-types parsec syb xml
15 base containers mtl pandoc-types parsec syb xml
16 ];
16 ];
17− executableHaskellDepends = [ network-uri ];
18 testHaskellDepends = [
17 testHaskellDepends = [
19 base bytestring directory filepath process split temporary text
18 base bytestring directory filepath process split temporary text
20 utf8-string xml
19 utf8-string xml
test/golden-test-cases/weigh.nix.golden+3−6
@@ -1,6 +1,5 @@
1−{ mkDerivation, base, bytestring-trie, containers, deepseq
2−, fetchurl, mtl, process, random, split, template-haskell
1+{ mkDerivation, base, deepseq, fetchurl, mtl, process, split
3−, temporary, unordered-containers
2+, template-haskell, temporary
4}:
3}:
5mkDerivation {
4mkDerivation {
6 pname = "weigh";
5 pname = "weigh";
@@ -12,9 +11,7 @@ mkDerivation {
12 libraryHaskellDepends = [
11 libraryHaskellDepends = [
13 base deepseq mtl process split template-haskell temporary
12 base deepseq mtl process split template-haskell temporary
14 ];
13 ];
15− testHaskellDepends = [
14+ testHaskellDepends = [ base deepseq ];
16− base bytestring-trie containers deepseq random unordered-containers
17− ];
18 homepage = "https://github.com/fpco/weigh#readme";
15 homepage = "https://github.com/fpco/weigh#readme";
19 description = "Measure allocations of a Haskell functions/values";
16 description = "Measure allocations of a Haskell functions/values";
20 license = stdenv.lib.licenses.bsd3;
17 license = stdenv.lib.licenses.bsd3;