summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/download
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2011-10-30 13:55:22 +0000
committerShea Levy <shea@shealevy.com>2011-10-30 13:55:22 +0000
commit62a775f829987eac1d5f75187d9d8b614aec343b (patch)
tree23d40b3b808031c778f82d8ae87c59620d47c505 /pkgs/development/libraries/haskell/download
parent67e7995cdc752dcb733a6ab65243bd83e7cb4e68 (diff)
Add the download Haskell library
svn path=/nixpkgs/trunk/; revision=30125
Diffstat (limited to 'pkgs/development/libraries/haskell/download')
-rw-r--r--pkgs/development/libraries/haskell/download/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/download/default.nix b/pkgs/development/libraries/haskell/download/default.nix
new file mode 100644
index 0000000000000..1ac7800a78c5e
--- /dev/null
+++ b/pkgs/development/libraries/haskell/download/default.nix
@@ -0,0 +1,14 @@
+{ cabal, feed, tagsoup, xml }:
+
+cabal.mkDerivation (self: {
+  pname = "download";
+  version = "0.3.2";
+  sha256 = "0nhbfq8q9ckc5fnlg54l361p2jhkag9cz11v07kj9f1kwkm4d7w3";
+  buildDepends = [ feed tagsoup xml ];
+  meta = {
+    homepage = "http://code.haskell.org/~dons/code/download";
+    description = "High-level file download based on URLs";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+  };
+})