2013-05-11 15:17:47 +02:00
|
|
|
{ cabal, accelerate, accelerateCuda, accelerateFft, accelerateIo
|
2013-11-21 16:28:10 +01:00
|
|
|
, attoparsec, bmp, bytestringLexing, cereal, criterion, ekg
|
|
|
|
, fclabels, filepath, gloss, glossAccelerate, glossRasterAccelerate
|
|
|
|
, HUnit, mwcRandom, primitive, QuickCheck, random, repa, repaIo
|
|
|
|
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2
|
|
|
|
, vector, vectorAlgorithms
|
2012-05-20 19:38:03 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "accelerate-examples";
|
2013-11-21 16:28:10 +01:00
|
|
|
version = "0.14.0.0";
|
|
|
|
sha256 = "01hxww3ypjlcfimkvf7gxl2g7msad2yw1d6m0h4kkfqvpx84nfwr";
|
2012-05-20 19:38:03 +02:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2013-05-11 15:17:47 +02:00
|
|
|
accelerate accelerateCuda accelerateFft accelerateIo attoparsec bmp
|
2013-11-21 16:28:10 +01:00
|
|
|
bytestringLexing cereal criterion ekg fclabels filepath gloss
|
|
|
|
glossAccelerate glossRasterAccelerate HUnit mwcRandom primitive
|
|
|
|
QuickCheck random repa repaIo testFramework testFrameworkHunit
|
|
|
|
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 = {
|
2013-05-11 15:17:47 +02:00
|
|
|
homepage = "https://github.com/AccelerateHS/accelerate-examples";
|
2012-05-20 19:38:03 +02:00
|
|
|
description = "Examples using the Accelerate library";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2013-12-02 20:24:58 +01:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-12-02 19:55:50 +01:00
|
|
|
hydraPlatforms = 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
|
|
|
};
|
|
|
|
})
|