2012-05-09 17:19:52 +01:00
|
|
|
{ cabal, filepath, languageC }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "c2hs";
|
2013-08-11 18:18:43 +01:00
|
|
|
version = "0.16.5";
|
|
|
|
sha256 = "19h4zppn7ry7p3f7qw1kgsrf6h2bjnknycfrj3ibxys82qpv8m8y";
|
2012-05-09 17:19:52 +01:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ filepath languageC ];
|
|
|
|
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
|
|
|
};
|
|
|
|
})
|