From afc41f22783ffe58b7c138bc0e152051bf008a0a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 21 Nov 2012 12:23:11 +0100 Subject: [PATCH] haskell-lens: add version 3.3 --- .../libraries/haskell/lens/default.nix | 22 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/libraries/haskell/lens/default.nix diff --git a/pkgs/development/libraries/haskell/lens/default.nix b/pkgs/development/libraries/haskell/lens/default.nix new file mode 100644 index 000000000000..c849665b1c80 --- /dev/null +++ b/pkgs/development/libraries/haskell/lens/default.nix @@ -0,0 +1,22 @@ +{ cabal, comonad, comonadsFd, comonadTransformers, filepath +, hashable, mtl, parallel, semigroups, split, text, transformers +, unorderedContainers, vector, void +}: + +cabal.mkDerivation (self: { + pname = "lens"; + version = "3.3"; + sha256 = "0gq24y1727ml5lpr0b67hqw3vwanvx6hpk3lsfx3nk6csscn1lvk"; + buildDepends = [ + comonad comonadsFd comonadTransformers filepath hashable mtl + parallel semigroups split text transformers unorderedContainers + vector void + ]; + noHaddock = true; + meta = { + homepage = "http://github.com/ekmett/lens/"; + description = "Lenses, Folds and Traversals"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index b17634da2adf..6d0050222d53 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1119,6 +1119,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); leksahServer = callPackage ../development/libraries/haskell/leksah/leksah-server.nix {}; + lens = callPackage ../development/libraries/haskell/lens {}; + libmpd = callPackage ../development/libraries/haskell/libmpd {}; liblastfm = callPackage ../development/libraries/haskell/liblastfm {};