1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 12:59:25 +00:00
nixpkgs/pkgs/development/libraries/haskell/c2hs/default.nix

25 lines
733 B
Nix
Raw Normal View History

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