ghcjsHEAD: upgrade ghcjs-boot packages

Move them closer to the latest LTS Haskell.
This commit is contained in:
Bas van Dijk 2017-03-23 15:18:21 +01:00
parent 4e57e7f7c6
commit 1c656d2f35
2 changed files with 203 additions and 145 deletions

View file

@ -1,22 +1,26 @@
{ fetchgit, fetchFromGitHub, bootPkgs }: { fetchgit, fetchFromGitHub, bootPkgs }:
bootPkgs.callPackage ./base.nix { bootPkgs.callPackage ./base.nix {
version = "0.2.020161101"; version = "0.2.020170323";
# deprecated on HEAD, directly included in the distribution # deprecated on HEAD, directly included in the distribution
ghcjs-prim = null; ghcjs-prim = null;
inherit bootPkgs; inherit bootPkgs;
ghcjsSrc = fetchFromGitHub { ghcjsSrc = fetchFromGitHub {
owner = "ghcjs"; # TODO: switch back to the regular ghcjs repo
# when https://github.com/ghcjs/ghcjs/pull/573 is merged.
owner = "basvandijk";
repo = "ghcjs"; repo = "ghcjs";
rev = "2dc14802e78d7d9dfa35395d5dbfc9c708fb83e6"; rev = "e6cdc71964a1c2e4184416a493e9d384c408914c";
sha256 = "0cvmapbrwg0h1pbz648isc2l84z694ylnfm8ncd1g4as28lmj0pz"; sha256 = "00fk9qwyx4vpvr0h9jbqxwlrvl6w63l5sq8r357prsp6xyv5zniz";
}; };
ghcjsBootSrc = fetchgit { ghcjsBootSrc = fetchgit {
url = git://github.com/ghcjs/ghcjs-boot.git; # TODO: switch back to git://github.com/ghcjs/ghcjs-boot.git
rev = "b000a4f4619b850bf3f9a45c9058f7a51e7709c8"; # when https://github.com/ghcjs/ghcjs-boot/pull/41 is merged.
sha256 = "164v0xf33r6mnympp6s70v8j6g7ccyg7z95gjp43bq150ppvisbq"; url = git://github.com/basvandijk/ghcjs-boot.git;
rev = "19a3b157ecb807c2224daffda5baecc92b76af35";
sha256 = "16sgr8vfr1nx5ljnk8gckgjk70zpa67ix4dbr9aizkwyz41ilfrb";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View file

@ -2,107 +2,117 @@
{ {
async = callPackage async = callPackage
({ mkDerivation, base, HUnit, stdenv, stm, test-framework ({ mkDerivation, base, HUnit, stm, test-framework
, test-framework-hunit , test-framework-hunit, stdenv
}: }:
mkDerivation { mkDerivation {
pname = "async"; pname = "async";
version = "2.1.0"; version = "2.1.1";
src = "${ghcjsBoot}/boot/async"; src = "${ghcjsBoot}/boot/async";
doCheck = false; doCheck = false;
libraryHaskellDepends = [ base stm ]; libraryHaskellDepends = [ base stm ];
testHaskellDepends = [ testHaskellDepends = [
base HUnit test-framework test-framework-hunit base HUnit test-framework test-framework-hunit
]; ];
jailbreak = true; jailbreak = true;
homepage = "https://github.com/simonmar/async"; homepage = "https://github.com/simonmar/async";
description = "Run IO operations asynchronously and wait for their results"; description = "Run IO operations asynchronously and wait for their results";
license = stdenv.lib.licenses.bsd3; license = stdenv.lib.licenses.bsd3;
}) {}; }) {};
aeson = callPackage aeson = callPackage
({ mkDerivation, attoparsec, base, bytestring, containers, deepseq ({ mkDerivation, attoparsec, base, base-compat, base-orphans
, dlist, fail, ghc-prim, hashable, HUnit, mtl, QuickCheck, scientific , base16-bytestring, bytestring, containers, deepseq, directory
, stdenv, syb, tagged, template-haskell, test-framework , dlist, fetchgit, filepath, generic-deriving, ghc-prim, hashable
, test-framework-hunit, test-framework-quickcheck2, text, time , hashable-time, HUnit, integer-logarithms, QuickCheck
, transformers, unordered-containers, vector , quickcheck-instances, scientific, stdenv, tagged
}: , template-haskell, test-framework, test-framework-hunit
mkDerivation { , test-framework-quickcheck2, text, time, time-locale-compat
pname = "aeson"; , unordered-containers, uuid-types, vector
version = "0.11.2.0"; }:
src = "${ghcjsBoot}/boot/aeson"; mkDerivation {
doCheck = false; pname = "aeson";
libraryHaskellDepends = [ version = "1.1.1.0";
attoparsec base bytestring containers deepseq dlist fail ghc-prim src = "${ghcjsBoot}/boot/aeson";
hashable mtl scientific syb tagged template-haskell text time transformers libraryHaskellDepends = [
unordered-containers vector attoparsec base base-compat bytestring containers deepseq dlist
]; ghc-prim hashable scientific tagged template-haskell text time
testHaskellDepends = [ time-locale-compat unordered-containers uuid-types vector
attoparsec base bytestring containers ghc-prim HUnit QuickCheck ];
template-haskell test-framework test-framework-hunit testHaskellDepends = [
test-framework-quickcheck2 text time unordered-containers vector attoparsec base base-compat base-orphans base16-bytestring
]; bytestring containers directory dlist filepath generic-deriving
jailbreak = true; ghc-prim hashable hashable-time HUnit integer-logarithms QuickCheck
homepage = "https://github.com/bos/aeson"; quickcheck-instances scientific tagged template-haskell
description = "Fast JSON parsing and encoding"; test-framework test-framework-hunit test-framework-quickcheck2 text
license = stdenv.lib.licenses.bsd3; time time-locale-compat unordered-containers uuid-types vector
}) {}; ];
jailbreak = true;
homepage = "https://github.com/bos/aeson";
description = "Fast JSON parsing and encoding";
license = stdenv.lib.licenses.bsd3;
}) {};
attoparsec = callPackage attoparsec = callPackage
({ mkDerivation, array, base, bytestring, containers, deepseq ({ mkDerivation, array, base, bytestring, case-insensitive
, QuickCheck, quickcheck-unicode, scientific, stdenv , containers, criterion, deepseq, directory, filepath, ghc-prim
, test-framework, test-framework-quickcheck2, text, transformers , http-types, parsec, QuickCheck, quickcheck-unicode, scientific
, vector , tasty, tasty-quickcheck, text, transformers, unordered-containers
}: , vector, stdenv
mkDerivation { }:
pname = "attoparsec"; mkDerivation {
version = "0.13.0.2"; pname = "attoparsec";
src = "${ghcjsBoot}/boot/attoparsec"; version = "0.13.1.0";
doCheck = false; src = "${ghcjsBoot}/boot/attoparsec";
libraryHaskellDepends = [ libraryHaskellDepends = [
array base bytestring containers deepseq scientific text array base bytestring containers deepseq scientific text
transformers transformers
]; ];
testHaskellDepends = [ testHaskellDepends = [
array base bytestring containers deepseq QuickCheck array base bytestring deepseq QuickCheck quickcheck-unicode
quickcheck-unicode scientific test-framework scientific tasty tasty-quickcheck text transformers vector
test-framework-quickcheck2 text transformers vector ];
]; benchmarkHaskellDepends = [
jailbreak = true; array base bytestring case-insensitive containers criterion deepseq
homepage = "https://github.com/bos/attoparsec"; directory filepath ghc-prim http-types parsec scientific text
description = "Fast combinator parsing for bytestrings and text"; transformers unordered-containers vector
license = stdenv.lib.licenses.bsd3; ];
}) {}; jailbreak = true;
homepage = "https://github.com/bos/attoparsec";
description = "Fast combinator parsing for bytestrings and text";
license = stdenv.lib.licenses.bsd3;
}) {};
case-insensitive = callPackage case-insensitive = callPackage
({ mkDerivation, base, bytestring, deepseq, hashable, HUnit, stdenv ({ mkDerivation, base, bytestring, criterion, deepseq, hashable
, test-framework, test-framework-hunit, text , HUnit, test-framework, test-framework-hunit, text, stdenv
}: }:
mkDerivation { mkDerivation {
pname = "case-insensitive"; pname = "case-insensitive";
version = "1.2.0.6"; version = "1.2.0.8";
src = "${ghcjsBoot}/boot/case-insensitive"; src = "${ghcjsBoot}/boot/case-insensitive";
doCheck = false; doCheck = false;
libraryHaskellDepends = [ base bytestring deepseq hashable text ]; libraryHaskellDepends = [ base bytestring deepseq hashable text ];
testHaskellDepends = [ testHaskellDepends = [
base bytestring HUnit test-framework test-framework-hunit text base bytestring HUnit test-framework test-framework-hunit text
]; ];
jailbreak = true; benchmarkHaskellDepends = [ base bytestring criterion deepseq ];
homepage = "https://github.com/basvandijk/case-insensitive"; jailbreak = true;
description = "Case insensitive string comparison"; homepage = "https://github.com/basvandijk/case-insensitive";
license = stdenv.lib.licenses.bsd3; description = "Case insensitive string comparison";
}) {}; license = stdenv.lib.licenses.bsd3;
}) {};
dlist = callPackage dlist = callPackage
({ mkDerivation, base, Cabal, deepseq, QuickCheck, stdenv }: ({ mkDerivation, base, Cabal, deepseq, QuickCheck, stdenv }:
mkDerivation { mkDerivation {
pname = "dlist"; pname = "dlist";
version = "0.7.1.2"; version = "0.8.0.2";
src = "${ghcjsBoot}/boot/dlist"; src = "${ghcjsBoot}/boot/dlist";
doCheck = false; doCheck = false;
libraryHaskellDepends = [ base deepseq ]; libraryHaskellDepends = [ base deepseq ];
testHaskellDepends = [ base Cabal QuickCheck ]; testHaskellDepends = [ base Cabal QuickCheck ];
jailbreak = true; jailbreak = true;
homepage = "https://github.com/spl/dlist"; homepage = "https://github.com/spl/dlist";
description = "Difference lists"; description = "Difference lists";
license = stdenv.lib.licenses.bsd3; license = stdenv.lib.licenses.bsd3;
}) {}; }) {};
extensible-exceptions = callPackage extensible-exceptions = callPackage
({ mkDerivation, base, stdenv }: ({ mkDerivation, base, stdenv }:
mkDerivation { mkDerivation {
@ -175,29 +185,29 @@
license = stdenv.lib.licenses.bsd3; license = stdenv.lib.licenses.bsd3;
}) {}; }) {};
scientific = callPackage scientific = callPackage
({ mkDerivation, base, binary, bytestring, containers, deepseq, ghc-prim ({ mkDerivation, base, binary, bytestring, containers, criterion
, hashable, integer-gmp, QuickCheck, smallcheck, stdenv, tasty , deepseq, ghc-prim, hashable, integer-gmp, integer-logarithms
, tasty-ant-xml, tasty-hunit, tasty-quickcheck, tasty-smallcheck , QuickCheck, smallcheck, tasty, tasty-ant-xml, tasty-hunit
, text, vector , tasty-quickcheck, tasty-smallcheck, text, vector, stdenv
}: }:
mkDerivation { mkDerivation {
pname = "scientific"; pname = "scientific";
version = "0.3.4.7"; version = "0.3.4.10";
src = "${ghcjsBoot}/boot/scientific"; src = "${ghcjsBoot}/boot/scientific";
doCheck = false; libraryHaskellDepends = [
libraryHaskellDepends = [ base binary bytestring containers deepseq ghc-prim hashable
base binary bytestring containers deepseq ghc-prim hashable integer-gmp integer-logarithms text vector
integer-gmp text vector ];
]; testHaskellDepends = [
testHaskellDepends = [ base binary bytestring QuickCheck smallcheck tasty tasty-ant-xml
base bytestring QuickCheck smallcheck tasty tasty-ant-xml tasty-hunit tasty-quickcheck tasty-smallcheck text
tasty-hunit tasty-quickcheck tasty-smallcheck text ];
]; benchmarkHaskellDepends = [ base criterion ];
jailbreak = true; jailbreak = true;
homepage = "https://github.com/basvandijk/scientific"; homepage = "https://github.com/basvandijk/scientific";
description = "Numbers represented using scientific notation"; description = "Numbers represented using scientific notation";
license = stdenv.lib.licenses.bsd3; license = stdenv.lib.licenses.bsd3;
}) {}; }) {};
stm = callPackage stm = callPackage
({ mkDerivation, array, base, stdenv }: ({ mkDerivation, array, base, stdenv }:
mkDerivation { mkDerivation {
@ -224,6 +234,23 @@
description = "Scrap Your Boilerplate"; description = "Scrap Your Boilerplate";
license = stdenv.lib.licenses.bsd3; license = stdenv.lib.licenses.bsd3;
}) {}; }) {};
tagged = callPackage
({ mkDerivation, base, deepseq, template-haskell, transformers
, transformers-compat, stdenv
}:
mkDerivation {
pname = "tagged";
version = "0.8.5";
src = "${ghcjsBoot}/boot/tagged";
doCheck = false;
libraryHaskellDepends = [
base deepseq template-haskell transformers transformers-compat
];
jailbreak = true;
homepage = "http://github.com/ekmett/tagged";
description = "Haskell 98 phantom types to avoid unsafely passing dummy arguments";
license = stdenv.lib.licenses.bsd3;
}) {};
text = callPackage text = callPackage
({ mkDerivation, array, base, binary, bytestring, deepseq, directory ({ mkDerivation, array, base, binary, bytestring, deepseq, directory
, ghc-prim, HUnit, integer-gmp, QuickCheck, quickcheck-unicode , ghc-prim, HUnit, integer-gmp, QuickCheck, quickcheck-unicode
@ -249,25 +276,52 @@
license = stdenv.lib.licenses.bsd3; license = stdenv.lib.licenses.bsd3;
}) {}; }) {};
unordered-containers = callPackage unordered-containers = callPackage
({ mkDerivation, base, ChasingBottoms, containers, deepseq, hashable ({ mkDerivation, base, bytestring, ChasingBottoms, containers
, HUnit, QuickCheck, stdenv, test-framework, test-framework-hunit , criterion, deepseq, deepseq-generics, hashable, hashmap, HUnit
, test-framework-quickcheck2 , mtl, QuickCheck, random, test-framework, test-framework-hunit
}: , test-framework-quickcheck2, stdenv
mkDerivation { }:
pname = "unordered-containers"; mkDerivation {
version = "0.2.7.0"; pname = "unordered-containers";
src = "${ghcjsBoot}/boot/unordered-containers"; version = "0.2.7.2";
doCheck = false; src = "${ghcjsBoot}/boot/unordered-containers";
libraryHaskellDepends = [ base deepseq hashable ]; libraryHaskellDepends = [ base deepseq hashable ];
testHaskellDepends = [ testHaskellDepends = [
base ChasingBottoms containers hashable HUnit QuickCheck base ChasingBottoms containers hashable HUnit QuickCheck
test-framework test-framework-hunit test-framework-quickcheck2 test-framework test-framework-hunit test-framework-quickcheck2
]; ];
jailbreak = true; benchmarkHaskellDepends = [
homepage = "https://github.com/tibbe/unordered-containers"; base bytestring containers criterion deepseq deepseq-generics
description = "Efficient hashing-based container types"; hashable hashmap mtl random
license = stdenv.lib.licenses.bsd3; ];
}) {}; jailbreak = true;
homepage = "https://github.com/tibbe/unordered-containers";
description = "Efficient hashing-based container types";
license = stdenv.lib.licenses.bsd3;
}) {};
uuid-types = callPackage
({ mkDerivation, base, binary, bytestring, containers, criterion
, deepseq, hashable, HUnit, QuickCheck, random, stdenv, tasty
, tasty-hunit, tasty-quickcheck, text
}:
mkDerivation {
pname = "uuid-types";
version = "1.0.3";
src = "${ghcjsBoot}/boot/uuid/uuid-types";
libraryHaskellDepends = [
base binary bytestring deepseq hashable random text
];
testHaskellDepends = [
base bytestring HUnit QuickCheck tasty tasty-hunit tasty-quickcheck
];
benchmarkHaskellDepends = [
base bytestring containers criterion deepseq random
];
jailbreak = true;
homepage = "https://github.com/aslatter/uuid";
description = "Type definitions for Universally Unique Identifiers";
license = stdenv.lib.licenses.bsd3;
}) {};
vector = callPackage vector = callPackage
({ mkDerivation, base, deepseq, ghc-prim, primitive, QuickCheck ({ mkDerivation, base, deepseq, ghc-prim, primitive, QuickCheck
, random, stdenv, template-haskell, test-framework , random, stdenv, template-haskell, test-framework