diff options
author | Peter Simons <simons@cryp.to> | 2014-01-20 12:43:49 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2014-01-20 18:28:02 +0100 |
commit | e701d2b062b0e45c413cff7b7b03e63e3b1aed7a (patch) | |
tree | c1544d0473b54420c5caf8589b78df78ea9d1bde /pkgs | |
parent | 12bb3d783b0e042b168b850d26815d052a3f59d4 (diff) | |
download | nixlib-e701d2b062b0e45c413cff7b7b03e63e3b1aed7a.tar nixlib-e701d2b062b0e45c413cff7b7b03e63e3b1aed7a.tar.gz nixlib-e701d2b062b0e45c413cff7b7b03e63e3b1aed7a.tar.bz2 nixlib-e701d2b062b0e45c413cff7b7b03e63e3b1aed7a.tar.lz nixlib-e701d2b062b0e45c413cff7b7b03e63e3b1aed7a.tar.xz nixlib-e701d2b062b0e45c413cff7b7b03e63e3b1aed7a.tar.zst nixlib-e701d2b062b0e45c413cff7b7b03e63e3b1aed7a.zip |
haskell-aeson: add version 0.7.0.0 (but don't use it yet)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/haskell/aeson/0.6.2.1.nix (renamed from pkgs/development/libraries/haskell/aeson/default.nix) | 0 | ||||
-rw-r--r-- | pkgs/development/libraries/haskell/aeson/0.7.0.0.nix | 26 | ||||
-rw-r--r-- | pkgs/top-level/haskell-packages.nix | 4 |
3 files changed, 29 insertions, 1 deletions
diff --git a/pkgs/development/libraries/haskell/aeson/default.nix b/pkgs/development/libraries/haskell/aeson/0.6.2.1.nix index edd2a21040e8..edd2a21040e8 100644 --- a/pkgs/development/libraries/haskell/aeson/default.nix +++ b/pkgs/development/libraries/haskell/aeson/0.6.2.1.nix diff --git a/pkgs/development/libraries/haskell/aeson/0.7.0.0.nix b/pkgs/development/libraries/haskell/aeson/0.7.0.0.nix new file mode 100644 index 000000000000..41bbdbf5a0b9 --- /dev/null +++ b/pkgs/development/libraries/haskell/aeson/0.7.0.0.nix @@ -0,0 +1,26 @@ +{ cabal, attoparsec, deepseq, dlist, hashable, HUnit, mtl +, QuickCheck, scientific, syb, testFramework, testFrameworkHunit +, testFrameworkQuickcheck2, text, time, unorderedContainers, vector +}: + +cabal.mkDerivation (self: { + pname = "aeson"; + version = "0.7.0.0"; + sha256 = "14xh7i07ha2hgljq0y0v7f5gkn0pv2zqj8l9j92957mf7f17zwf6"; + buildDepends = [ + attoparsec deepseq dlist hashable mtl scientific syb text time + unorderedContainers vector + ]; + testDepends = [ + attoparsec HUnit QuickCheck testFramework testFrameworkHunit + testFrameworkQuickcheck2 text time unorderedContainers vector + ]; + doCheck = false; + meta = { + homepage = "https://github.com/bos/aeson"; + description = "Fast JSON parsing and encoding"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 764955b72104..798103153ece 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -522,7 +522,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x abstractPar = callPackage ../development/libraries/haskell/abstract-par {}; - aeson = callPackage ../development/libraries/haskell/aeson {}; + aeson_0_6_2_1 = callPackage ../development/libraries/haskell/aeson/0.6.2.1.nix {}; + aeson_0_7_0_0 = callPackage ../development/libraries/haskell/aeson/0.7.0.0.nix {}; + aeson = self.aeson_0_6_2_1; aesonLens = callPackage ../development/libraries/haskell/aeson-lens {}; |