From a3a2222fecb974891c6e54d33f3eec717cec9756 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertugrul=20S=C3=B6ylemez?= Date: Fri, 25 Apr 2014 14:03:00 +0200 Subject: [PATCH] haskell: Added enumset 0.0.4 and jack 0.7.0.2. --- .../libraries/haskell/enumset/default.nix | 23 ++++++++++++++ .../libraries/haskell/jack/default.nix | 30 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 4 +++ 3 files changed, 57 insertions(+) create mode 100644 pkgs/development/libraries/haskell/enumset/default.nix create mode 100644 pkgs/development/libraries/haskell/jack/default.nix diff --git a/pkgs/development/libraries/haskell/enumset/default.nix b/pkgs/development/libraries/haskell/enumset/default.nix new file mode 100644 index 000000000000..4f55049a0a9e --- /dev/null +++ b/pkgs/development/libraries/haskell/enumset/default.nix @@ -0,0 +1,23 @@ +{ cabal, dataAccessor, storableRecord }: + +cabal.mkDerivation (self: { + pname = "enumset"; + version = "0.0.4"; + sha256 = "1dzwxi7i757zdf68v470n8dwn1g8kg51w3c1mwqyxwq85650805w"; + + isExecutable = false; + isLibrary = true; + + buildDepends = [ + dataAccessor + storableRecord + ]; + + meta = { + description = "Sets of enumeration values represented by machine words"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = with self.stdenv.lib.maintainers; [ertes]; + }; + +}) diff --git a/pkgs/development/libraries/haskell/jack/default.nix b/pkgs/development/libraries/haskell/jack/default.nix new file mode 100644 index 000000000000..ad63399fa4d1 --- /dev/null +++ b/pkgs/development/libraries/haskell/jack/default.nix @@ -0,0 +1,30 @@ +{ cabal, enumset, eventList, explicitException, jackaudio, midi, +nonNegative, transformers }: + +cabal.mkDerivation (self: { + pname = "jack"; + version = "0.7.0.2"; + sha256 = "06mf1sw1lp81b3d4hsgc199m30drdnxzzlmsxg4p1yvydjfdk4gj"; + + isExecutable = false; + isLibrary = true; + + pkgconfigDepends = [jackaudio]; + + buildDepends = [ + enumset + eventList + explicitException + midi + nonNegative + transformers + ]; + + meta = { + description = "Bindings for the JACK Audio Connection Kit"; + homepage = "http://www.haskell.org/haskellwiki/JACK"; + license = self.stdenv.lib.licenses.gpl2Plus; + platforms = self.ghc.meta.platforms; + maintainers = with self.stdenv.lib.maintainers; [ertes]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index b7e78e09cc75..e2d396ddae51 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1061,6 +1061,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x enummapsetTh = callPackage ../development/libraries/haskell/enummapset-th {}; + enumset = callPackage ../development/libraries/haskell/enumset {}; + entropy = callPackage ../development/libraries/haskell/entropy {}; erf = callPackage ../development/libraries/haskell/erf {}; @@ -1592,6 +1594,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x ixShapable = callPackage ../development/libraries/haskell/ix-shapable {}; + jack = callPackage ../development/libraries/haskell/jack {}; + JuicyPixels = callPackage ../development/libraries/haskell/JuicyPixels {}; jpeg = callPackage ../development/libraries/haskell/jpeg {};