2013-05-11 14:17:47 +01: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 18:38:03 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "accelerate-examples";
|
2013-05-11 14:17:47 +01:00
|
|
|
version = "0.13.0.0";
|
|
|
|
sha256 = "18f8p47sf10zn678540qzzf5pl18w9f068s83lpz4lk0r5gf4lzx";
|
2012-05-20 18:38:03 +01:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2013-05-11 14:17:47 +01: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 18:38:03 +01:00
|
|
|
];
|
2012-05-20 21:31:15 +01:00
|
|
|
configureFlags = "-f-opencl";
|
2012-05-20 18:38:03 +01:00
|
|
|
meta = {
|
2013-05-11 14:17:47 +01:00
|
|
|
homepage = "https://github.com/AccelerateHS/accelerate-examples";
|
2012-05-20 18:38:03 +01:00
|
|
|
description = "Examples using the Accelerate library";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2013-11-04 23:04:36 +00:00
|
|
|
hydraPlatforms = [];
|
2013-05-10 23:36:36 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2012-05-20 18:38:03 +01:00
|
|
|
};
|
|
|
|
})
|