nixpkgs/pkgs/development/tools/haskell/multi-ghc-travis/default.nix

30 lines
909 B
Nix

{ mkDerivation, ansi-terminal, base, bytestring, Cabal, containers
, deepseq, Diff, directory, filepath, ShellCheck, stdenv, tasty
, tasty-golden, transformers, fetchFromGitHub
}:
mkDerivation {
pname = "haskell-ci";
version = "0";
src = fetchFromGitHub {
owner = "haskell-CI";
repo = "haskell-ci";
rev = "f7ab8c794d7a957370d89f9b4e285a6d20bf8af8";
sha256 = "0w8qjdy8hzdrwmqnkf4y967r9xh0k21w3hxqlsjp66cay1vby2s8";
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base Cabal containers deepseq directory filepath ShellCheck
transformers
];
executableHaskellDepends = [ base ];
testHaskellDepends = [
ansi-terminal base bytestring Diff directory filepath tasty
tasty-golden transformers
];
homepage = "https://github.com/haskell-CI/haskell-ci";
description = "Script generator for Travis-CI";
license = stdenv.lib.licenses.bsd3;
}