2012-05-20 17:38:03 +00:00
|
|
|
{ cabal, accelerate, binary, blazeBuilder, cryptohash, cuda
|
|
|
|
, fclabels, filepath, hashable, hashtables, languageCQuote
|
2012-06-11 07:04:40 +00:00
|
|
|
, mainlandPretty, mtl, srcloc, transformers, unorderedContainers
|
2012-05-20 17:38:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "accelerate-cuda";
|
2012-08-06 10:44:29 +00:00
|
|
|
version = "0.12.1.1";
|
|
|
|
sha256 = "1kj9i6djjb46ad3dnzk72mf33r8h1mjxljs7x5rf2d658hqk5yfv";
|
2012-05-20 17:38:03 +00:00
|
|
|
buildDepends = [
|
|
|
|
accelerate binary blazeBuilder cryptohash cuda fclabels filepath
|
2012-06-11 07:04:40 +00:00
|
|
|
hashable hashtables languageCQuote mainlandPretty mtl srcloc
|
2012-05-20 17:38:03 +00:00
|
|
|
transformers unorderedContainers
|
|
|
|
];
|
2012-07-10 08:44:51 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|\<defaultMain\>|defaultMainWithHooks autoconfUserHooks|' Setup.hs
|
|
|
|
'';
|
2012-05-20 17:38:03 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.cse.unsw.edu.au/~chak/project/accelerate/";
|
|
|
|
description = "Accelerate backend for NVIDIA GPUs";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2012-05-20 20:21:55 +00:00
|
|
|
platforms = self.stdenv.lib.platforms.none;
|
2012-05-20 17:38:03 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
|
|
};
|
|
|
|
})
|