blob: ac52a88e63b9b260a9455f7b319063925cc89478 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ 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;
};
})
|