stockholm/krebs/5pkgs/haskell-overrides/megaparsec.nix

21 lines
757 B
Nix
Raw Normal View History

2015-10-17 04:56:45 +00:00
{ mkDerivation, base, bytestring, fetchzip, HUnit, mtl, QuickCheck
, stdenv, test-framework, test-framework-hunit
, test-framework-quickcheck2, text, transformers
}:
mkDerivation {
pname = "megaparsec";
version = "4.1.0";
src = fetchzip {
url = "https://hackage.haskell.org/package/megaparsec-4.1.0/megaparsec-4.1.0.tar.gz";
sha256 = "1a1ka53a3r91lwnlvzaa8nyk1dxvfd1ij1i5x5vp83q2r9z9dcmi";
};
libraryHaskellDepends = [ base bytestring mtl text transformers ];
testHaskellDepends = [
base HUnit mtl QuickCheck test-framework test-framework-hunit
test-framework-quickcheck2 transformers
];
homepage = "https://github.com/mrkkrp/megaparsec";
description = "Monadic parser combinators";
license = stdenv.lib.licenses.bsd3;
}