mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
Add c2hsc to haskell-packages.nix
This commit is contained in:
parent
e2bc9a3d14
commit
8026caec43
20
pkgs/development/libraries/haskell/c2hsc/default.nix
Normal file
20
pkgs/development/libraries/haskell/c2hsc/default.nix
Normal file
|
@ -0,0 +1,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;
|
||||
};
|
||||
})
|
|
@ -707,6 +707,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
|||
|
||||
c2hs = callPackage ../development/libraries/haskell/c2hs {};
|
||||
|
||||
c2hsc = callPackage ../development/libraries/haskell/c2hsc {};
|
||||
|
||||
Cabal_1_14_0 = callPackage ../development/libraries/haskell/Cabal/1.14.0.nix { cabal = self.cabal.override { Cabal = null; }; };
|
||||
Cabal_1_16_0_3 = callPackage ../development/libraries/haskell/Cabal/1.16.0.3.nix { cabal = self.cabal.override { Cabal = null; }; };
|
||||
Cabal_1_18_1_3 = callPackage ../development/libraries/haskell/Cabal/1.18.1.3.nix { cabal = self.cabal.override { Cabal = null; }; };
|
||||
|
|
Loading…
Reference in a new issue