nixpkgs/pkgs/development/misc/haskell/hasura/graphql-parser/default.nix

37 lines
1.4 KiB
Nix
Raw Normal View History

2019-12-11 20:41:31 +00:00
{ mkDerivation, aeson, attoparsec, base, bytestring, containers
, criterion, fetchgit, filepath, hedgehog, hpack, prettyprinter
2021-01-23 17:15:07 +00:00
, protolude, regex-tdfa, scientific, lib, stdenv, template-haskell, text
2019-12-11 20:41:31 +00:00
, text-builder, th-lift-instances, unordered-containers, vector
}:
mkDerivation {
pname = "graphql-parser";
2020-08-13 20:43:19 +00:00
version = "0.1.0.1";
2019-12-11 20:41:31 +00:00
src = fetchgit {
url = "https://github.com/hasura/graphql-parser-hs.git";
2020-08-13 20:43:19 +00:00
sha256 = "sha256-oem/h0AQPk7eSM/P6wMoWV9KirxutE4hnQWwrpQ6TGk=";
rev = "ba8e26fef1488cf3c8c08e86f02730f56ec84e1f";
2019-12-11 20:41:31 +00:00
fetchSubmodules = true;
};
libraryHaskellDepends = [
aeson attoparsec base bytestring containers filepath hedgehog
prettyprinter protolude regex-tdfa scientific template-haskell text
text-builder th-lift-instances unordered-containers vector
];
libraryToolDepends = [ hpack ];
testHaskellDepends = [
aeson attoparsec base bytestring containers filepath hedgehog
prettyprinter protolude regex-tdfa scientific template-haskell text
text-builder th-lift-instances unordered-containers vector
];
benchmarkHaskellDepends = [
aeson attoparsec base bytestring containers criterion filepath
hedgehog prettyprinter protolude regex-tdfa scientific
template-haskell text text-builder th-lift-instances
unordered-containers vector
];
2020-08-13 20:43:19 +00:00
doCheck = false;
2019-12-11 20:41:31 +00:00
prePatch = "hpack";
homepage = "https://github.com/hasura/graphql-parser-hs#readme";
2021-01-23 17:15:07 +00:00
license = lib.licenses.bsd3;
2019-12-11 20:41:31 +00:00
}