From 6e8404a7cba80dc35221f780cd9619f19061ed5e Mon Sep 17 00:00:00 2001 From: Rickard Nilsson Date: Fri, 19 Apr 2013 07:09:12 +0200 Subject: [PATCH] New Haskell library: haskell-acid-state --- .../libraries/haskell/acid-state/default.nix | 21 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/libraries/haskell/acid-state/default.nix diff --git a/pkgs/development/libraries/haskell/acid-state/default.nix b/pkgs/development/libraries/haskell/acid-state/default.nix new file mode 100644 index 000000000000..13c3837d610f --- /dev/null +++ b/pkgs/development/libraries/haskell/acid-state/default.nix @@ -0,0 +1,21 @@ +{ cabal, cereal, safecopy, stm, extensibleExceptions, mtl, network +}: + +cabal.mkDerivation (self: { + pname = "acid-state"; + version = "0.8.3"; + sha256 = "1n7vafw3jz7kmlp5jqn1wv0ip2rcbyfx0cdi2m1a2lvpi6dh97gc"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + cereal safecopy stm extensibleExceptions mtl network + ]; + meta = { + homepage = "http://acid-state.seize.it/"; + description = "Add ACID guarantees to any serializable Haskell data structure."; + license = self.stdenv.lib.licenses.publicDomain; + platforms = self.ghc.meta.platforms; + maintainers = [ + ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 10908a97c33d..284824b8b9bf 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -440,6 +440,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); # Haskell libraries. + acidState = callPackage ../development/libraries/haskell/acid-state {}; + Agda = callPackage ../development/libraries/haskell/Agda {}; accelerate = callPackage ../development/libraries/haskell/accelerate {};