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

23 lines
671 B
Nix
Raw Normal View History

# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2014-04-11 16:34:56 +01: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;
};
})