summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2014-08-15 18:29:01 +0200
committerPeter Simons <simons@cryp.to>2014-08-15 18:29:01 +0200
commit48ab9c742ff1cfaf841bdc89d2d23c757d65d632 (patch)
treee85968b6cf1a61fc0f62c0da8f61a1cb0e5018ca /pkgs/development
parent3b12f59eada47fa3f4bf54ed69282ee879d5ded1 (diff)
parent33c7f791d869269095f24a8083a35505906f8856 (diff)
downloadnixpkgs-48ab9c742ff1cfaf841bdc89d2d23c757d65d632.tar
nixpkgs-48ab9c742ff1cfaf841bdc89d2d23c757d65d632.tar.gz
nixpkgs-48ab9c742ff1cfaf841bdc89d2d23c757d65d632.tar.bz2
nixpkgs-48ab9c742ff1cfaf841bdc89d2d23c757d65d632.tar.lz
nixpkgs-48ab9c742ff1cfaf841bdc89d2d23c757d65d632.tar.xz
nixpkgs-48ab9c742ff1cfaf841bdc89d2d23c757d65d632.tar.zst
nixpkgs-48ab9c742ff1cfaf841bdc89d2d23c757d65d632.zip
Merge pull request #3611 from ederoyd46/haskell-protobuf
Added haskell hex and protobuf packages
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/haskell/hex/default.nix14
-rw-r--r--pkgs/development/libraries/haskell/protobuf/default.nix25
2 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/hex/default.nix b/pkgs/development/libraries/haskell/hex/default.nix
new file mode 100644
index 00000000000..235d617e96b
--- /dev/null
+++ b/pkgs/development/libraries/haskell/hex/default.nix
@@ -0,0 +1,14 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
+{ cabal }:
+
+cabal.mkDerivation (self: {
+  pname = "hex";
+  version = "0.1.2";
+  sha256 = "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj";
+  meta = {
+    description = "Convert strings into hexadecimal and back";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+  };
+})
diff --git a/pkgs/development/libraries/haskell/protobuf/default.nix b/pkgs/development/libraries/haskell/protobuf/default.nix
new file mode 100644
index 00000000000..be437c7410d
--- /dev/null
+++ b/pkgs/development/libraries/haskell/protobuf/default.nix
@@ -0,0 +1,25 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
+{ cabal, cereal, dataBinaryIeee754, deepseq, hex, HUnit, mtl
+, QuickCheck, tagged, tasty, tastyHunit, tastyQuickcheck, text
+, unorderedContainers
+}:
+
+cabal.mkDerivation (self: {
+  pname = "protobuf";
+  version = "0.2.0.3";
+  sha256 = "0jcrnym0j8w4vjrdmvn88x8ddp8wf809wviy1vkz94p2nyp6l2hw";
+  buildDepends = [
+    cereal dataBinaryIeee754 deepseq mtl text unorderedContainers
+  ];
+  testDepends = [
+    cereal hex HUnit mtl QuickCheck tagged tasty tastyHunit
+    tastyQuickcheck text unorderedContainers
+  ];
+  meta = {
+    homepage = "https://github.com/alphaHeavy/protobuf";
+    description = "Google Protocol Buffers via GHC.Generics";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+  };
+})