summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-08-07 22:00:36 +0000
committerPeter Simons <simons@cryp.to>2011-08-07 22:00:36 +0000
commit2adbbf157201ce92758e577227cbcfbb7b194409 (patch)
tree73b7daa9bd391eb69b2890590faf0128159b3470
parentd701b718263da534e63c3baf71eeb9930a5f3e1e (diff)
downloadnixlib-2adbbf157201ce92758e577227cbcfbb7b194409.tar
nixlib-2adbbf157201ce92758e577227cbcfbb7b194409.tar.gz
nixlib-2adbbf157201ce92758e577227cbcfbb7b194409.tar.bz2
nixlib-2adbbf157201ce92758e577227cbcfbb7b194409.tar.lz
nixlib-2adbbf157201ce92758e577227cbcfbb7b194409.tar.xz
nixlib-2adbbf157201ce92758e577227cbcfbb7b194409.tar.zst
nixlib-2adbbf157201ce92758e577227cbcfbb7b194409.zip
haskell-packages.nix: added path-pieces library, which is required by recent versions of web-route
svn path=/nixpkgs/trunk/; revision=28311
-rwxr-xr-xpkgs/development/libraries/haskell/path-pieces/default.nix15
-rw-r--r--pkgs/top-level/haskell-packages.nix2
2 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/path-pieces/default.nix b/pkgs/development/libraries/haskell/path-pieces/default.nix
new file mode 100755
index 000000000000..83ed852051e3
--- /dev/null
+++ b/pkgs/development/libraries/haskell/path-pieces/default.nix
@@ -0,0 +1,15 @@
+{cabal, text} :
+
+cabal.mkDerivation (self : {
+  pname = "path-pieces";
+  version = "0.0.0";
+  sha256 = "09sk4wlzy37gaii7spisjy4a3pizis9si4kv389bki20gfwpaivf";
+  propagatedBuildInputs = [ text ];
+  meta = {
+    homepage = "http://github.com/snoyberg/path-pieces";
+    description = "Components of paths.";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.stdenv.lib.platforms.haskellPlatforms;
+    maintainers = [ self.stdenv.lib.maintainers.simons ];
+  };
+})
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index 1e471a348a19..f682e9e70e2d 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -845,6 +845,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
 
   OpenGL = self.OpenGL_2_2_1_1;
 
+  pathPieces = callPackage ../development/libraries/haskell/path-pieces {};
+
   pandoc_1_6_0_1 = callPackage ../development/libraries/haskell/pandoc/1.6.0.1.nix {
     texmath = self.texmath_0_4;
   };