2023-04-29 16:46:19 +00:00
|
|
|
{ mkDerivation, array, base, bytestring, directory, fetchgit
|
|
|
|
, filepath, lib, mtl, pooled-io, process, relude, tasty
|
|
|
|
, tasty-discover, tasty-hspec, tasty-hunit, text
|
2021-02-13 14:23:35 +00:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "avh4-lib";
|
|
|
|
version = "0.0.0.1";
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/avh4/elm-format";
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "04l1bn4w8q3ifd6mc4mfrqxfbihmqnpfjdn6gr0x2jqcasjbk0bi";
|
|
|
|
rev = "b5cca4c26b473dab06e5d73b98148637e4770d45";
|
2021-02-13 14:23:35 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
postUnpack = "sourceRoot+=/avh4-lib; echo source root reset to $sourceRoot";
|
2023-04-29 16:46:19 +00:00
|
|
|
configureFlags = [ "--ghc-option=-Wno-error=unused-packages" ];
|
2021-02-13 14:23:35 +00:00
|
|
|
libraryHaskellDepends = [
|
2023-04-29 16:46:19 +00:00
|
|
|
array base bytestring directory filepath mtl pooled-io process
|
|
|
|
relude text
|
2021-02-13 14:23:35 +00:00
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
2023-04-29 16:46:19 +00:00
|
|
|
array base bytestring directory filepath mtl pooled-io process
|
|
|
|
relude tasty tasty-hspec tasty-hunit text
|
2021-02-13 14:23:35 +00:00
|
|
|
];
|
|
|
|
testToolDepends = [ tasty-discover ];
|
|
|
|
doHaddock = false;
|
|
|
|
description = "Common code for haskell projects";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
}
|