mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
haskell-lens: add version 4.0
This commit is contained in:
parent
f16f44662f
commit
e3651da23e
35
pkgs/development/libraries/haskell/lens/4.0.nix
Normal file
35
pkgs/development/libraries/haskell/lens/4.0.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ cabal, aeson, bifunctors, comonad, constraints, contravariant
|
||||
, deepseq, distributive, doctest, exceptions, filepath
|
||||
, genericDeriving, hashable, hlint, HUnit, mtl, nats, parallel
|
||||
, primitive, profunctors, QuickCheck, reflection, scientific
|
||||
, semigroupoids, semigroups, simpleReflect, split, tagged
|
||||
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2
|
||||
, testFrameworkTh, text, transformers, transformersCompat
|
||||
, unorderedContainers, utf8String, vector, void, zlib
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "lens";
|
||||
version = "4.0";
|
||||
sha256 = "1mrpbwnj1k2my71lm0ajxsx5r44sz372gfxn78vz4182yv3bmla1";
|
||||
buildDepends = [
|
||||
aeson bifunctors comonad constraints contravariant distributive
|
||||
exceptions filepath hashable mtl parallel primitive profunctors
|
||||
reflection scientific semigroupoids semigroups split tagged text
|
||||
transformers transformersCompat unorderedContainers utf8String
|
||||
vector void zlib
|
||||
];
|
||||
testDepends = [
|
||||
deepseq doctest filepath genericDeriving hlint HUnit mtl nats
|
||||
parallel QuickCheck semigroups simpleReflect split testFramework
|
||||
testFrameworkHunit testFrameworkQuickcheck2 testFrameworkTh text
|
||||
transformers unorderedContainers vector
|
||||
];
|
||||
doCheck = false;
|
||||
meta = {
|
||||
homepage = "http://github.com/ekmett/lens/";
|
||||
description = "Lenses, Folds and Traversals";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
@ -1532,7 +1532,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
||||
|
||||
leksahServer = callPackage ../development/libraries/haskell/leksah/leksah-server.nix {};
|
||||
|
||||
lens = callPackage ../development/libraries/haskell/lens {};
|
||||
lens_3_10_2 = callPackage ../development/libraries/haskell/lens/3.10.2.nix {};
|
||||
lens_4_0 = callPackage ../development/libraries/haskell/lens/4.0.nix {};
|
||||
lens = self.lens_3_10_2;
|
||||
|
||||
lensAeson = callPackage ../development/libraries/haskell/lens-aeson {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user