mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
513b42ef2b
svn path=/nixpkgs/trunk/; revision=34190
29 lines
1.0 KiB
Nix
29 lines
1.0 KiB
Nix
{ cabal, accelerate, accelerateCuda, accelerateIo, attoparsec, bmp
|
|
, bytestringLexing, cmdargs, criterion, cuda, deepseq, fclabels
|
|
, filepath, gloss, hashtables, mtl, mwcRandom, pgm, QuickCheck
|
|
, random, testFramework, testFrameworkQuickcheck2, vector
|
|
, vectorAlgorithms
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "accelerate-examples";
|
|
version = "0.12.0.0";
|
|
sha256 = "08mkfr46vl8vgcsxvmbs499frvybfq0chbcj1chpb8rwy8w9fa9h";
|
|
isLibrary = false;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
accelerate accelerateCuda accelerateIo attoparsec bmp
|
|
bytestringLexing cmdargs criterion cuda deepseq fclabels filepath
|
|
gloss hashtables mtl mwcRandom pgm QuickCheck random testFramework
|
|
testFrameworkQuickcheck2 vector vectorAlgorithms
|
|
];
|
|
configureFlags = "-f-opencl";
|
|
meta = {
|
|
homepage = "http://www.cse.unsw.edu.au/~chak/project/accelerate/";
|
|
description = "Examples using the Accelerate library";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|