nixpkgs/pkgs/development/libraries/haskell/c2hsc/default.nix

21 lines
596 B
Nix
Raw Normal View History

2014-04-11 17:34:56 +02:00
{ 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;
};
})