From 9b21f98b0a57a074099b0adcb6333222850b60e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Tue, 12 May 2009 07:06:13 +0000 Subject: [PATCH] Added two Haskell packages. svn path=/nixpkgs/trunk/; revision=15562 --- pkgs/development/libraries/haskell/emgm/default.nix | 11 +++++++++++ .../development/libraries/haskell/zipper/default.nix | 12 ++++++++++++ pkgs/top-level/haskell-packages.nix | 8 ++++++++ 3 files changed, 31 insertions(+) create mode 100644 pkgs/development/libraries/haskell/emgm/default.nix create mode 100644 pkgs/development/libraries/haskell/zipper/default.nix diff --git a/pkgs/development/libraries/haskell/emgm/default.nix b/pkgs/development/libraries/haskell/emgm/default.nix new file mode 100644 index 000000000000..8082b2f8d916 --- /dev/null +++ b/pkgs/development/libraries/haskell/emgm/default.nix @@ -0,0 +1,11 @@ +{cabal}: + +cabal.mkDerivation (self : { + pname = "emgm"; + version = "0.3.1"; + sha256 = "956923ec4d51f111ca6091ebccf75a1f6b99d7a173ea673cbb4787bf08f497a8"; + meta = { + description = "Extensible and Modular Generics for the Masses"; + }; +}) + diff --git a/pkgs/development/libraries/haskell/zipper/default.nix b/pkgs/development/libraries/haskell/zipper/default.nix new file mode 100644 index 000000000000..eeb62076503c --- /dev/null +++ b/pkgs/development/libraries/haskell/zipper/default.nix @@ -0,0 +1,12 @@ +{cabal, multirec}: + +cabal.mkDerivation (self : { + pname = "zipper"; + version = "0.1"; + sha256 = "aa4d45692be1a54ebe4bd0df9577a09d95692930494103c2ee89dfce7af818eb"; + propagatedBuildInputs = [multirec]; + meta = { + description = "Generic zipper for systems of recursive datatypes"; + }; +}) + diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 69d52433f65e..cef0f36978d6 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -55,6 +55,10 @@ rec { inherit cabal; }; + emgm = import ../development/libraries/haskell/emgm { + inherit cabal; + }; + extensibleExceptions = import ../development/libraries/haskell/extensible-exceptions { inherit cabal; }; @@ -307,6 +311,10 @@ rec { inherit cabal; }; + zipper = import ../development/libraries/haskell/zipper { + inherit cabal multirec; + }; + zlib = import ../development/libraries/haskell/zlib { inherit cabal; inherit (pkgs) zlib;