diff --git a/pkgs/development/libraries/haskell/zeromq-haskell/default.nix b/pkgs/development/libraries/haskell/zeromq-haskell/default.nix new file mode 100644 index 000000000000..b456c1d81a05 --- /dev/null +++ b/pkgs/development/libraries/haskell/zeromq-haskell/default.nix @@ -0,0 +1,18 @@ +{ cabal, zeromq }: + +cabal.mkDerivation (self: { + pname = "zeromq-haskell"; + version = "0.8.1"; + sha256 = "19fl3nd548yj6d6c3jqr6lxk6y033qa68jgnc5aq5w8kmlpn70mc"; + extraLibraries = [ zeromq ]; + meta = { + homepage = "http://github.com/twittner/zeromq-haskell/"; + description = "bindings to zeromq"; + license = self.stdenv.lib.licenses.mit; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/development/libraries/zeromq/default.nix b/pkgs/development/libraries/zeromq/default.nix new file mode 100644 index 000000000000..06beb9254f95 --- /dev/null +++ b/pkgs/development/libraries/zeromq/default.nix @@ -0,0 +1,17 @@ +{stdenv, fetchurl, libuuid}: + +stdenv.mkDerivation rec { + name = "zeromq-2.1.10"; + + src = fetchurl { + url = "http://download.zeromq.org/${name}.tar.gz"; + sha256 = "0yabbbgx9ajpq0hjzqjm6rmj7pkcj95d5zn7d59b4wmm6kipwwn6"; + }; + + buildInputs = [ libuuid ]; + + meta = { + homepage = "http://www.zeromq.org"; + description = "The Intelligent Transport Layer"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ec3cc3706337..3dad98e476bc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4730,6 +4730,8 @@ let static = true; })); + zeromq = callPackage ../development/libraries/zeromq {}; + zvbi = callPackage ../development/libraries/zvbi { pngSupport = true; }; diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index a5e622a08d11..1b086de02666 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1360,6 +1360,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); yst = callPackage ../development/libraries/haskell/yst {}; + zeromqHaskell = callPackage ../development/libraries/haskell/zeromq-haskell {}; + zipArchive = callPackage ../development/libraries/haskell/zip-archive {}; zipper = callPackage ../development/libraries/haskell/zipper {