2014-03-26 08:50:38 +00:00
|
|
|
{ cabal, filepath, HUnit, languageC, shelly, testFramework
|
|
|
|
, testFrameworkHunit, text
|
|
|
|
}:
|
2012-05-09 17:19:52 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "c2hs";
|
2014-03-26 08:50:38 +00:00
|
|
|
version = "0.16.6";
|
|
|
|
sha256 = "1yf7mcslkf6m1nizifqva8j5sxnw87bg60dw8mfgpmqvrzpbxizm";
|
2012-05-09 17:19:52 +01:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ filepath languageC ];
|
2014-03-26 08:50:38 +00:00
|
|
|
testDepends = [
|
|
|
|
filepath HUnit shelly testFramework testFrameworkHunit text
|
|
|
|
];
|
2014-03-27 10:54:36 +00:00
|
|
|
jailbreak = true;
|
|
|
|
doCheck = false;
|
2012-05-09 17:19:52 +01:00
|
|
|
meta = {
|
2013-08-11 18:18:43 +01:00
|
|
|
homepage = "https://github.com/haskell/c2hs";
|
2012-05-09 17:19:52 +01:00
|
|
|
description = "C->Haskell FFI tool that gives some cross-language type safety";
|
|
|
|
license = self.stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-10 23:36:36 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2012-05-09 17:19:52 +01:00
|
|
|
};
|
|
|
|
})
|