Merge pull request #11352 from jb55/multi-ghc-travis-patch
multi-ghc-travis: init at git-2015-11-04
This commit is contained in:
commit
3a14c49fa0
32
pkgs/development/tools/haskell/multi-ghc-travis/default.nix
Normal file
32
pkgs/development/tools/haskell/multi-ghc-travis/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, ghc, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "multi-ghc-travis-${version}";
|
||||
version = "git-2015-11-04";
|
||||
|
||||
buildInputs = [ ghc ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hvr";
|
||||
repo = "multi-ghc-travis";
|
||||
rev = "4c288937ff8b80f6f1532609f9920912856dc3ee";
|
||||
sha256 = "0978k81by403in7iq7ia4hsfwlvaalnjqyh3ihwyw8822a5gm8y9";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace make_travis_yml.hs --replace "make_travis_yml.hs" "multi-ghc-travis"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
ghc -O --make make_travis_yml.hs -o $out/bin/multi-ghc-travis
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Generate .travis.yml for multiple ghc versions";
|
||||
homepage = "https://github.com/hvr/multi-ghc-travis";
|
||||
license = licenses.free;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ jb55 ];
|
||||
};
|
||||
}
|
@ -5736,6 +5736,8 @@ let
|
||||
|
||||
mk = callPackage ../development/tools/build-managers/mk { };
|
||||
|
||||
multi-ghc-travis = callPackage ../development/tools/haskell/multi-ghc-travis { };
|
||||
|
||||
neoload = callPackage ../development/tools/neoload {
|
||||
licenseAccepted = (config.neoload.accept_license or false);
|
||||
fontsConf = makeFontsConf {
|
||||
|
Loading…
Reference in New Issue
Block a user