2012-05-09 16:19:52 +00:00
|
|
|
{ cabal, filepath, languageC }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "c2hs";
|
2012-11-01 09:08:27 +00:00
|
|
|
version = "0.16.4";
|
|
|
|
sha256 = "0m8mzc19cgaqsi1skqimk22770xddxx0j024mgp76hl8vqc5rcgi";
|
2012-05-09 16:19:52 +00:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ filepath languageC ];
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.cse.unsw.edu.au/~chak/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;
|
2013-05-10 22:36:36 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2012-05-09 16:19:52 +00:00
|
|
|
};
|
|
|
|
})
|