2013-05-11 14:17:47 +01:00
|
|
|
{ cabal, accelerate, accelerateCuda, accelerateFft, accelerateIo
|
2013-11-21 15:28:10 +00: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 18:38:03 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "accelerate-examples";
|
2013-11-21 15:28:10 +00:00
|
|
|
version = "0.14.0.0";
|
|
|
|
sha256 = "01hxww3ypjlcfimkvf7gxl2g7msad2yw1d6m0h4kkfqvpx84nfwr";
|
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
|
2013-11-21 15:28:10 +00: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 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-12-02 19:24:58 +00:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-12-02 18:55:50 +00:00
|
|
|
hydraPlatforms = self.stdenv.lib.platforms.none;
|
2013-05-10 23:36:36 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2012-05-20 18:38:03 +01:00
|
|
|
};
|
|
|
|
})
|