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