21 lines
596 B
Nix
21 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;
|
|
};
|
|
})
|