2012-05-20 19:38:03 +02:00
|
|
|
{ cabal, accelerate, binary, blazeBuilder, cryptohash, cuda
|
|
|
|
, fclabels, filepath, hashable, hashtables, languageCQuote
|
2012-06-11 09:04:40 +02:00
|
|
|
, mainlandPretty, mtl, srcloc, transformers, unorderedContainers
|
2012-05-20 19:38:03 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "accelerate-cuda";
|
2012-08-06 12:44:29 +02:00
|
|
|
version = "0.12.1.1";
|
|
|
|
sha256 = "1kj9i6djjb46ad3dnzk72mf33r8h1mjxljs7x5rf2d658hqk5yfv";
|
2012-05-20 19:38:03 +02:00
|
|
|
buildDepends = [
|
|
|
|
accelerate binary blazeBuilder cryptohash cuda fclabels filepath
|
2012-06-11 09:04:40 +02:00
|
|
|
hashable hashtables languageCQuote mainlandPretty mtl srcloc
|
2012-05-20 19:38:03 +02:00
|
|
|
transformers unorderedContainers
|
|
|
|
];
|
2012-07-10 10:44:51 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|\<defaultMain\>|defaultMainWithHooks autoconfUserHooks|' Setup.hs
|
|
|
|
'';
|
2012-05-20 19:38:03 +02: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 22:21:55 +02:00
|
|
|
platforms = self.stdenv.lib.platforms.none;
|
2012-05-20 19:38:03 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
|
|
};
|
|
|
|
})
|