From 7efe90a6e3238f14bcf6cee239ca6b7b1421dc24 Mon Sep 17 00:00:00 2001 From: Chris Heller Date: Wed, 2 Jul 2014 00:14:06 -0400 Subject: [PATCH] Add Thrift-0.6.0.1 --- .../libraries/haskell/Thrift/0.6.0.1.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/development/libraries/haskell/Thrift/0.6.0.1.nix diff --git a/pkgs/development/libraries/haskell/Thrift/0.6.0.1.nix b/pkgs/development/libraries/haskell/Thrift/0.6.0.1.nix new file mode 100644 index 000000000000..c1e6ef6df2d4 --- /dev/null +++ b/pkgs/development/libraries/haskell/Thrift/0.6.0.1.nix @@ -0,0 +1,14 @@ +{ cabal, binary, HTTP, network }: + +cabal.mkDerivation (self: { + pname = "Thrift"; + version = "0.6.0.1"; + sha256 = "0yk496zql0jpyj83ybdzffc03sylf5pwn093k831m99j54l2r5yv"; + buildDepends = [ binary HTTP network ]; + meta = { + homepage = "http://thrift.apache.org"; + description = "Haskell bindings for the Apache Thrift RPC system"; + license = "unknown"; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 560b0b77ce68..0b00ecf4fbd8 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -2284,6 +2284,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in threads = callPackage ../development/libraries/haskell/threads {}; + Thrift_0_6_0_1 = callPackage ../development/libraries/haskell/Thrift/0.6.0.1.nix {}; + Thrift = self.Thrift_0_6_0_1; + thyme = callPackage ../development/libraries/haskell/thyme {}; threepennyGui = callPackage ../development/libraries/haskell/threepenny-gui {};