From 53d69fd13d46fdb1f59f510149ca89de9b9dac91 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 21 Nov 2012 12:22:55 +0100 Subject: [PATCH] haskell-comonads-fd: add version 3.0 --- .../libraries/haskell/comonads-fd/default.nix | 18 ++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/haskell/comonads-fd/default.nix diff --git a/pkgs/development/libraries/haskell/comonads-fd/default.nix b/pkgs/development/libraries/haskell/comonads-fd/default.nix new file mode 100644 index 000000000000..26a18c667a2b --- /dev/null +++ b/pkgs/development/libraries/haskell/comonads-fd/default.nix @@ -0,0 +1,18 @@ +{ cabal, comonad, comonadTransformers, mtl, semigroups +, transformers +}: + +cabal.mkDerivation (self: { + pname = "comonads-fd"; + version = "3.0"; + sha256 = "1j5ymj711c49fsk2ilxfpzqr0jr117z8kb5ggyh5nlwjy16m32in"; + buildDepends = [ + comonad comonadTransformers mtl semigroups transformers + ]; + meta = { + homepage = "http://github.com/ekmett/comonads-fd/"; + description = "Comonad transformers using functional dependencies"; + 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 484e01dcf116..b17634da2adf 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -597,6 +597,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); comonad = callPackage ../development/libraries/haskell/comonad {}; + comonadsFd = callPackage ../development/libraries/haskell/comonads-fd {}; + comonadTransformers = callPackage ../development/libraries/haskell/comonad-transformers {}; compactStringFix = callPackage ../development/libraries/haskell/compact-string-fix {};