24 lines
732 B
Nix
24 lines
732 B
Nix
{ cabal, HUnit, llvmConfig, llvmGeneralPure, mtl, parsec
|
|
, QuickCheck, setenv, testFramework, testFrameworkHunit
|
|
, testFrameworkQuickcheck2, transformers, utf8String
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "llvm-general";
|
|
version = "3.4.2.2";
|
|
sha256 = "1dqdvv8pslblavyi14xy0bgrr1ca8d1jqp60x16zgbzkk3f2jx6a";
|
|
buildDepends = [
|
|
llvmGeneralPure mtl parsec setenv transformers utf8String
|
|
];
|
|
testDepends = [
|
|
HUnit llvmGeneralPure mtl QuickCheck testFramework
|
|
testFrameworkHunit testFrameworkQuickcheck2
|
|
];
|
|
buildTools = [ llvmConfig ];
|
|
doCheck = false;
|
|
meta = {
|
|
description = "General purpose LLVM bindings";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|