nixpkgs-suyu/pkgs/development/libraries/haskell/accelerate-cuda/default.nix
2012-07-10 10:44:51 +02:00

25 lines
935 B
Nix

{ cabal, accelerate, binary, blazeBuilder, cryptohash, cuda
, fclabels, filepath, hashable, hashtables, languageCQuote
, mainlandPretty, mtl, srcloc, transformers, unorderedContainers
}:
cabal.mkDerivation (self: {
pname = "accelerate-cuda";
version = "0.12.1.0";
sha256 = "1y6viivizv4frdh3xk5wqhs7wwnhqyjr9wid1y1d5l42mz41vp84";
buildDepends = [
accelerate binary blazeBuilder cryptohash cuda fclabels filepath
hashable hashtables languageCQuote mainlandPretty mtl srcloc
transformers unorderedContainers
];
patchPhase = ''
sed -i -e 's|\<defaultMain\>|defaultMainWithHooks autoconfUserHooks|' Setup.hs
'';
meta = {
homepage = "http://www.cse.unsw.edu.au/~chak/project/accelerate/";
description = "Accelerate backend for NVIDIA GPUs";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.stdenv.lib.platforms.none;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})