From 5188f7f939f8715f7278e645a013007162843442 Mon Sep 17 00:00:00 2001 From: Mathijs Kwik Date: Sat, 9 Nov 2013 01:11:01 +0100 Subject: [PATCH] add haskell-protocol-buffers-descriptor --- .../protocol-buffers-descriptor/default.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/haskell/protocol-buffers-descriptor/default.nix diff --git a/pkgs/development/libraries/haskell/protocol-buffers-descriptor/default.nix b/pkgs/development/libraries/haskell/protocol-buffers-descriptor/default.nix new file mode 100644 index 000000000000..7b14fabd8b15 --- /dev/null +++ b/pkgs/development/libraries/haskell/protocol-buffers-descriptor/default.nix @@ -0,0 +1,14 @@ +{ cabal, protocolBuffers }: + +cabal.mkDerivation (self: { + pname = "protocol-buffers-descriptor"; + version = "2.0.14"; + sha256 = "0xbpmm9a4fg42c9zbarawqdl4klfjjc233ilbsibb7asa3v7zmj3"; + buildDepends = [ protocolBuffers ]; + meta = { + homepage = "http://code.haskell.org/protocol-buffers/"; + description = "Text.DescriptorProto.Options and code generated from the Google Protocol Buffer specification"; + 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 8cddf060f17f..3660a55074cc 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1815,6 +1815,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x protocolBuffers = callPackage ../development/libraries/haskell/protocol-buffers {}; + protocolBuffersDescriptor = callPackage ../development/libraries/haskell/protocol-buffers-descriptor {}; + PSQueue = callPackage ../development/libraries/haskell/PSQueue {}; publicsuffixlist = callPackage ../development/libraries/haskell/publicsuffixlist {};