2012-05-20 20:31:15 +00:00
|
|
|
{ cabal, accelerate, accelerateCuda, accelerateIo, attoparsec, bmp
|
|
|
|
, bytestringLexing, cmdargs, criterion, cuda, deepseq, fclabels
|
|
|
|
, filepath, gloss, hashtables, mtl, mwcRandom, pgm, QuickCheck
|
|
|
|
, random, testFramework, testFrameworkQuickcheck2, vector
|
|
|
|
, vectorAlgorithms
|
2012-05-20 17:38:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "accelerate-examples";
|
2012-06-11 07:04:40 +00:00
|
|
|
version = "0.12.1.0";
|
|
|
|
sha256 = "0vlax90yy9h4ljm87ffmnqv881nr4ssbc968mbbwi2704hn4chhb";
|
2012-05-20 17:38:03 +00:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2012-05-20 20:31:15 +00:00
|
|
|
accelerate accelerateCuda accelerateIo attoparsec bmp
|
|
|
|
bytestringLexing cmdargs criterion cuda deepseq fclabels filepath
|
|
|
|
gloss hashtables mtl mwcRandom pgm QuickCheck random 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 = {
|
|
|
|
homepage = "http://www.cse.unsw.edu.au/~chak/project/accelerate/";
|
|
|
|
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-03-23 13:57:25 +00:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2012-05-20 17:38:03 +00:00
|
|
|
};
|
|
|
|
})
|