2014-03-26 09:50:38 +01:00
|
|
|
{ cabal, filepath, HUnit, languageC, shelly, testFramework
|
2014-04-28 19:17:07 +02:00
|
|
|
, testFrameworkHunit, text, yaml
|
2014-03-26 09:50:38 +01:00
|
|
|
}:
|
2012-05-09 18:19:52 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "c2hs";
|
2014-04-28 19:17:07 +02:00
|
|
|
version = "0.17.2";
|
|
|
|
sha256 = "1xrk0izdy5akjgmg9k4l9ccmmgv1avwh152pfpc1xm2rrwrg4bxk";
|
2012-05-09 18:19:52 +02:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ filepath languageC ];
|
2014-03-26 09:50:38 +01:00
|
|
|
testDepends = [
|
2014-04-28 19:17:07 +02:00
|
|
|
filepath HUnit shelly testFramework testFrameworkHunit text yaml
|
2014-03-26 09:50:38 +01:00
|
|
|
];
|
2014-03-27 11:54:36 +01:00
|
|
|
jailbreak = true;
|
|
|
|
doCheck = false;
|
2012-05-09 18:19:52 +02:00
|
|
|
meta = {
|
2013-08-11 19:18:43 +02:00
|
|
|
homepage = "https://github.com/haskell/c2hs";
|
2012-05-09 18:19:52 +02: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-11 00:36:36 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2012-05-09 18:19:52 +02:00
|
|
|
};
|
|
|
|
})
|