From 0a24aa4d2935b62c21cf18f7213e8bb59018b8df Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 10 Oct 2013 11:46:45 +0200 Subject: [PATCH] haskell-network: add version 2.4.2.0 --- .../libraries/haskell/network/2.4.2.0.nix | 20 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 5 +++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 pkgs/development/libraries/haskell/network/2.4.2.0.nix diff --git a/pkgs/development/libraries/haskell/network/2.4.2.0.nix b/pkgs/development/libraries/haskell/network/2.4.2.0.nix new file mode 100644 index 000000000000..2912138daf7c --- /dev/null +++ b/pkgs/development/libraries/haskell/network/2.4.2.0.nix @@ -0,0 +1,20 @@ +{ cabal, HUnit, parsec, testFramework, testFrameworkHunit +, testFrameworkQuickcheck2 +}: + +cabal.mkDerivation (self: { + pname = "network"; + version = "2.4.2.0"; + sha256 = "1v6iwww8xym0sr2593ri0aa6gcs6n2975fi9gaz9n7rizbqm88qs"; + buildDepends = [ parsec ]; + testDepends = [ + HUnit testFramework testFrameworkHunit testFrameworkQuickcheck2 + ]; + meta = { + homepage = "https://github.com/haskell/network"; + description = "Low-level networking interface"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index f3d7f43e85bc..2439c4277412 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -154,7 +154,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x HTTP = self.HTTP_4000_2_8; HUnit = self.HUnit_1_2_5_2; mtl = self.mtl_2_1_2; - network = self.network_2_4_1_2; + network = self.network_2_4_2_0; OpenGL = self.OpenGL_2_8_0_0; OpenGLRaw = self.OpenGLRaw_1_4_0_0; parallel = self.parallel_3_2_0_3; @@ -1548,7 +1548,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x network_2_3_0_13 = callPackage ../development/libraries/haskell/network/2.3.0.13.nix {}; network_2_3_1_0 = callPackage ../development/libraries/haskell/network/2.3.1.0.nix {}; network_2_4_1_2 = callPackage ../development/libraries/haskell/network/2.4.1.2.nix {}; - network = self.network_2_4_1_2; + network_2_4_2_0 = callPackage ../development/libraries/haskell/network/2.4.2.0.nix {}; + network = self.network_2_4_2_0; networkConduit = callPackage ../development/libraries/haskell/network-conduit {}; networkConduitTls = callPackage ../development/libraries/haskell/network-conduit-tls {};