2013-05-11 13:17:47 +00:00
|
|
|
{ cabal, accelerate, accelerateCuda, accelerateFft, accelerateIo
|
|
|
|
, attoparsec, bmp, bytestringLexing, cereal, cmdargs, criterion
|
|
|
|
, cuda, deepseq, fclabels, filepath, gloss, hashtables, mtl
|
|
|
|
, mwcRandom, pgm, QuickCheck, random, repa, repaIo, testFramework
|
|
|
|
, testFrameworkQuickcheck2, vector, vectorAlgorithms
|
2012-05-20 17:38:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "accelerate-examples";
|
2013-05-11 13:17:47 +00:00
|
|
|
version = "0.13.0.0";
|
|
|
|
sha256 = "18f8p47sf10zn678540qzzf5pl18w9f068s83lpz4lk0r5gf4lzx";
|
2012-05-20 17:38:03 +00:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2013-05-11 13:17:47 +00:00
|
|
|
accelerate accelerateCuda accelerateFft accelerateIo attoparsec bmp
|
|
|
|
bytestringLexing cereal cmdargs criterion cuda deepseq fclabels
|
|
|
|
filepath gloss hashtables mtl mwcRandom pgm QuickCheck random repa
|
|
|
|
repaIo testFramework testFrameworkQuickcheck2 vector
|
|
|
|
vectorAlgorithms
|
2012-05-20 17:38:03 +00:00
|
|
|
];
|
2012-05-20 20:31:15 +00:00
|
|
|
configureFlags = "-f-opencl";
|
2012-05-20 17:38:03 +00:00
|
|
|
meta = {
|
2013-05-11 13:17:47 +00:00
|
|
|
homepage = "https://github.com/AccelerateHS/accelerate-examples";
|
2012-05-20 17:38:03 +00:00
|
|
|
description = "Examples using the Accelerate library";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2012-08-22 15:51:17 +00:00
|
|
|
platforms = self.stdenv.lib.platforms.none;
|
2013-05-10 22:36:36 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2012-05-20 17:38:03 +00:00
|
|
|
};
|
|
|
|
})
|