diff options
Diffstat (limited to 'pkgs/development/tools/haskell/c2hs/default.nix')
-rw-r--r-- | pkgs/development/tools/haskell/c2hs/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/tools/haskell/c2hs/default.nix b/pkgs/development/tools/haskell/c2hs/default.nix new file mode 100644 index 00000000000..830283d6420 --- /dev/null +++ b/pkgs/development/tools/haskell/c2hs/default.nix @@ -0,0 +1,24 @@ +# 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.20.1"; + sha256 = "1w2w9zxirzjd5lniwqakq59glgsh4mw3565x2l9qrin0bfjxkn3h"; + isLibrary = false; + isExecutable = true; + buildDepends = [ dlist filepath languageC ]; + testDepends = [ + filepath HUnit shelly testFramework testFrameworkHunit text + transformers + ]; + 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; + }; +}) |