nixpkgs/pkgs/development/libraries/haskell/accelerate-examples/default.nix
Andres Löh 7aa85ac536 Adding NVIDIA CUDA toolkit and haskell-accelerate-cuda plus deps.
svn path=/nixpkgs/trunk/; revision=34186
2012-05-20 17:38:03 +00:00

27 lines
1 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
];
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 ];
};
})