2012-05-20 22:31:15 +02: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 19:38:03 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "accelerate-examples";
|
2012-06-11 09:04:40 +02:00
|
|
|
version = "0.12.1.0";
|
|
|
|
sha256 = "0vlax90yy9h4ljm87ffmnqv881nr4ssbc968mbbwi2704hn4chhb";
|
2012-05-20 19:38:03 +02:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2012-05-20 22:31:15 +02: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 19:38:03 +02:00
|
|
|
];
|
2012-05-20 22:31:15 +02:00
|
|
|
configureFlags = "-f-opencl";
|
2012-05-20 19:38:03 +02: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 17:51:17 +02:00
|
|
|
platforms = self.stdenv.lib.platforms.none;
|
2013-05-11 00:36:36 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2012-05-20 19:38:03 +02:00
|
|
|
};
|
|
|
|
})
|