diff --git a/pkgs/development/libraries/haskell/download/default.nix b/pkgs/development/libraries/haskell/download/default.nix new file mode 100644 index 000000000000..1ac7800a78c5 --- /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; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 759cca546c94..8f8d796769b9 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -545,6 +545,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); doubleConversion = callPackage ../development/libraries/haskell/double-conversion {}; + download = callPackage ../development/libraries/haskell/download {}; + editline = callPackage ../development/libraries/haskell/editline {}; emailValidate = callPackage ../development/libraries/haskell/email-validate {};