mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 03:23:17 +00:00
28 lines
1010 B
Nix
28 lines
1010 B
Nix
{ mkDerivation, avh4-lib, base, containers, fetchgit, filepath
|
|
, hspec, hspec-core, hspec-golden, lib, mtl, split, tasty
|
|
, tasty-discover, tasty-hspec, tasty-hunit, text
|
|
}:
|
|
mkDerivation {
|
|
pname = "elm-format-test-lib";
|
|
version = "0.0.0.1";
|
|
src = fetchgit {
|
|
url = "https://github.com/avh4/elm-format";
|
|
sha256 = "04l1bn4w8q3ifd6mc4mfrqxfbihmqnpfjdn6gr0x2jqcasjbk0bi";
|
|
rev = "b5cca4c26b473dab06e5d73b98148637e4770d45";
|
|
fetchSubmodules = true;
|
|
};
|
|
postUnpack = "sourceRoot+=/elm-format-test-lib; echo source root reset to $sourceRoot";
|
|
libraryHaskellDepends = [
|
|
avh4-lib base containers filepath hspec hspec-core hspec-golden mtl
|
|
split tasty-hunit text
|
|
];
|
|
testHaskellDepends = [
|
|
avh4-lib base containers filepath hspec hspec-core hspec-golden mtl
|
|
split tasty tasty-hspec tasty-hunit text
|
|
];
|
|
testToolDepends = [ tasty-discover ];
|
|
doHaddock = false;
|
|
description = "Test helpers used by elm-format-tests and elm-refactor-tests";
|
|
license = lib.licenses.bsd3;
|
|
}
|