nixpkgs/pkgs/development/libraries/haskell/c2hsc/default.nix
2014-04-11 10:34:56 -05:00

20 lines
596 B
Nix

{ cabal, cmdargs, filepath, HStringTemplate, languageC, mtl, split
, transformers
}:
cabal.mkDerivation (self: {
pname = "c2hsc";
version = "0.6.5";
sha256 = "0c5hzi4nw9n3ir17swbwymkymnpiw958z8r2hw6656ijwqkxvzgd";
isLibrary = false;
isExecutable = true;
buildDepends = [
cmdargs filepath HStringTemplate languageC mtl split transformers
];
meta = {
homepage = "https://github.com/jwiegley/c2hsc";
description = "Convert C API header files to .hsc and .hsc.helper.c files";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})