Merge pull request #33271 from LumiGuide/ghc802-inline-c

haskell: configuration-ghc-8.0.x.nix: keep inline-c at 0.5.6.1
This commit is contained in:
Peter Simons 2018-01-02 10:15:07 +01:00 committed by GitHub
commit b1fd018f90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 45 additions and 0 deletions

View File

@ -65,4 +65,7 @@ self: super: {
# Add appropriate Cabal library to build this code. # Add appropriate Cabal library to build this code.
stack = addSetupDepend super.stack self.Cabal_2_0_1_1; stack = addSetupDepend super.stack self.Cabal_2_0_1_1;
# inline-c > 0.5.6.0 requires template-haskell >= 2.12
inline-c = super.inline-c_0_5_6_1;
inline-c-cpp = super.inline-c-cpp_0_1_0_0;
} }

View File

@ -2689,6 +2689,8 @@ extra-packages:
- haskell-gi-overloading == 0.0 # gi-* packages use this dependency to disable overloading support - haskell-gi-overloading == 0.0 # gi-* packages use this dependency to disable overloading support
- haskell-src-exts == 1.19.* # required by hindent and structured-haskell-mode - haskell-src-exts == 1.19.* # required by hindent and structured-haskell-mode
- hpack == 0.20.* # required by stack-1.6.1 - hpack == 0.20.* # required by stack-1.6.1
- inline-c < 0.6 # required on GHC 8.0.x
- inline-c-cpp < 0.2 # required on GHC 8.0.x
- language-c == 0.7.0 # required by c2hs hack to work around https://github.com/haskell/c2hs/issues/192. - language-c == 0.7.0 # required by c2hs hack to work around https://github.com/haskell/c2hs/issues/192.
- mtl < 2.2 # newer versions require transformers > 0.4.x, which we cannot provide in GHC 7.8.x - mtl < 2.2 # newer versions require transformers > 0.4.x, which we cannot provide in GHC 7.8.x
- mtl-prelude < 2 # required for to build postgrest on mtl 2.1.x platforms - mtl-prelude < 2 # required for to build postgrest on mtl 2.1.x platforms

View File

@ -113458,6 +113458,34 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none; hydraPlatforms = stdenv.lib.platforms.none;
}) {}; }) {};
"inline-c_0_5_6_1" = callPackage
({ mkDerivation, ansi-wl-pprint, base, binary, bytestring
, containers, cryptohash, directory, filepath, gsl, gslcblas
, hashable, hspec, mtl, parsec, parsers, QuickCheck, raw-strings-qq
, regex-posix, stdenv, template-haskell, transformers
, unordered-containers, vector
}:
mkDerivation {
pname = "inline-c";
version = "0.5.6.1";
sha256 = "0kpbwrri9idllwd7gfamghrdrz16zqjphmb3cp5nq160dxz73brd";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
ansi-wl-pprint base binary bytestring containers cryptohash
directory filepath hashable mtl parsec parsers QuickCheck
template-haskell transformers unordered-containers vector
];
executableSystemDepends = [ gsl gslcblas ];
testHaskellDepends = [
ansi-wl-pprint base containers hashable hspec parsers QuickCheck
raw-strings-qq regex-posix template-haskell transformers
unordered-containers vector
];
description = "Write Haskell source files including C code inline. No FFI required.";
license = stdenv.lib.licenses.mit;
}) {inherit (pkgs) gsl; gslcblas = null;};
"inline-c" = callPackage "inline-c" = callPackage
({ mkDerivation, ansi-wl-pprint, base, bytestring, containers, gsl ({ mkDerivation, ansi-wl-pprint, base, bytestring, containers, gsl
, gslcblas, hashable, hspec, mtl, parsec, parsers, QuickCheck , gslcblas, hashable, hspec, mtl, parsec, parsers, QuickCheck
@ -113484,6 +113512,18 @@ self: {
license = stdenv.lib.licenses.mit; license = stdenv.lib.licenses.mit;
}) {inherit (pkgs) gsl; gslcblas = null;}; }) {inherit (pkgs) gsl; gslcblas = null;};
"inline-c-cpp_0_1_0_0" = callPackage
({ mkDerivation, base, inline-c, stdenv, template-haskell }:
mkDerivation {
pname = "inline-c-cpp";
version = "0.1.0.0";
sha256 = "0iba77p2ncxbg5sb4ks8f3lgp6zdnjhzvrr2ap3yg49is5b9f5rf";
libraryHaskellDepends = [ base inline-c template-haskell ];
testHaskellDepends = [ base ];
description = "Lets you embed C++ code into Haskell";
license = stdenv.lib.licenses.mit;
}) {};
"inline-c-cpp" = callPackage "inline-c-cpp" = callPackage
({ mkDerivation, base, hspec, inline-c, safe-exceptions ({ mkDerivation, base, hspec, inline-c, safe-exceptions
, template-haskell , template-haskell