c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
28 lines
1,002 B
Nix
28 lines
1,002 B
Nix
{ mkDerivation, array, base, bytestring, directory, fetchgit
|
|
, filepath, lib, mtl, pooled-io, process, relude, tasty
|
|
, tasty-discover, tasty-hspec, tasty-hunit, text
|
|
}:
|
|
mkDerivation {
|
|
pname = "avh4-lib";
|
|
version = "0.0.0.1";
|
|
src = fetchgit {
|
|
url = "https://github.com/avh4/elm-format";
|
|
sha256 = "04l1bn4w8q3ifd6mc4mfrqxfbihmqnpfjdn6gr0x2jqcasjbk0bi";
|
|
rev = "b5cca4c26b473dab06e5d73b98148637e4770d45";
|
|
fetchSubmodules = true;
|
|
};
|
|
postUnpack = "sourceRoot+=/avh4-lib; echo source root reset to $sourceRoot";
|
|
configureFlags = [ "--ghc-option=-Wno-error=unused-packages" ];
|
|
libraryHaskellDepends = [
|
|
array base bytestring directory filepath mtl pooled-io process
|
|
relude text
|
|
];
|
|
testHaskellDepends = [
|
|
array base bytestring directory filepath mtl pooled-io process
|
|
relude tasty tasty-hspec tasty-hunit text
|
|
];
|
|
testToolDepends = [ tasty-discover ];
|
|
doHaddock = false;
|
|
description = "Common code for haskell projects";
|
|
license = lib.licenses.bsd3;
|
|
}
|