[Nix-dev] [PATCH] haskell fingertree library

James Cook james.cook at utoronto.ca
Sat Aug 14 01:32:15 CEST 2010


new file mode 100644
index 0000000..058287e
--- /dev/null
+++ b/pkgs/development/libraries/haskell/fingertree/default.nix
@@ -0,0 +1,11 @@
+{cabal}:
+
+cabal.mkDerivation (self : {
+  pname = "fingertree";
+  version = "0.0.1.0";
+  sha256 = "12rj95yjjjdsinhcflz44byhb13xmqh2j8j4zgsci432a1bg42z8";
+  meta = {
+    description = "Generic finger-tree structure, with example instances";
+  };
+})  
+
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index 0c00beb..fbbea2e 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -190,6 +190,10 @@ rec {
     inherit cabal datetime parsec regexPosix split time utf8String xml Diff;
   };
 
+  fingertree = import ../development/libraries/haskell/fingertree {
+    inherit cabal;
+  };
+
   fgl = import ../development/libraries/haskell/fgl {
     inherit cabal mtl;
   };



More information about the nix-dev mailing list