Merge pull request #5128 from abbradar/c2hs
Move c2hs/c2hsc into tools, update
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
||||
|
||||
{ cabal, dlist, filepath, HUnit, languageC, shelly, testFramework
|
||||
, testFrameworkHunit, text, transformers
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "c2hs";
|
||||
version = "0.19.1";
|
||||
sha256 = "18vk4q43bn4n59mcjid382dlm113nwll94hsqhqvk52sp1jkmjn3";
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [ dlist filepath languageC ];
|
||||
testDepends = [
|
||||
filepath HUnit shelly testFramework testFrameworkHunit text
|
||||
transformers
|
||||
];
|
||||
jailbreak = true;
|
||||
doCheck = false;
|
||||
meta = {
|
||||
homepage = "https://github.com/haskell/c2hs";
|
||||
description = "C->Haskell FFI tool that gives some cross-language type safety";
|
||||
license = self.stdenv.lib.licenses.gpl2;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
||||
@@ -1,22 +0,0 @@
|
||||
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
||||
|
||||
{ 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;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user