From bbbb8f833c3e34efb1952b810ed1d7572f4931ed Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 11 May 2013 15:33:59 +0200 Subject: [PATCH] haskell-cufft: add version 0.1.0.1 --- .../libraries/haskell/cufft/default.nix | 15 +++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/development/libraries/haskell/cufft/default.nix diff --git a/pkgs/development/libraries/haskell/cufft/default.nix b/pkgs/development/libraries/haskell/cufft/default.nix new file mode 100644 index 000000000000..76039f065488 --- /dev/null +++ b/pkgs/development/libraries/haskell/cufft/default.nix @@ -0,0 +1,15 @@ +{ cabal, c2hs, cuda }: + +cabal.mkDerivation (self: { + pname = "cufft"; + version = "0.1.0.1"; + sha256 = "0j1rsixl48z8xszym9s3rw4pwq4s5bz6inqkfsq726gni0nlm8vx"; + buildDepends = [ cuda ]; + buildTools = [ c2hs ]; + meta = { + homepage = "http://github.com/robeverest/cufft"; + description = "Haskell bindings for the CUFFT library"; + 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 5c7b31c31c67..7078bf4b2db3 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -705,6 +705,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); cssText = callPackage ../development/libraries/haskell/css-text {}; + cufft = callPackage ../development/libraries/haskell/cufft {}; + curl = callPackage ../development/libraries/haskell/curl { curl = pkgs.curl; }; cpu = callPackage ../development/libraries/haskell/cpu {};