From 0ce12b7a53d1bea81f1c054df2df52096f97de49 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 15 Nov 2012 12:35:09 +0100 Subject: [PATCH] haskell-SafeSemaphore: add version 0.9.0 --- .../libraries/haskell/SafeSemaphore/default.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/haskell/SafeSemaphore/default.nix diff --git a/pkgs/development/libraries/haskell/SafeSemaphore/default.nix b/pkgs/development/libraries/haskell/SafeSemaphore/default.nix new file mode 100644 index 000000000000..ad161f971024 --- /dev/null +++ b/pkgs/development/libraries/haskell/SafeSemaphore/default.nix @@ -0,0 +1,14 @@ +{ cabal, stm }: + +cabal.mkDerivation (self: { + pname = "SafeSemaphore"; + version = "0.9.0"; + sha256 = "1xa30cciw8wmri675kdsz4pb5qwrh592pzylbhawqsvsarf80gz4"; + buildDepends = [ stm ]; + meta = { + homepage = "https://github.com/ChrisKuklewicz/SafeSemaphore"; + description = "Much safer replacement for QSemN, QSem, and SampleVar"; + 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 1765edafc99e..078307b02664 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1440,6 +1440,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); safe = callPackage ../development/libraries/haskell/safe {}; + SafeSemaphore = callPackage ../development/libraries/haskell/SafeSemaphore {}; + sendfile = callPackage ../development/libraries/haskell/sendfile {}; semigroups = callPackage ../development/libraries/haskell/semigroups {};