From 4e4e1696462087925ba38b7ff2bf73cdad468009 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 17 Oct 2015 06:56:45 +0200 Subject: krebs hspkgs megaparsec: init at 4.1.0 --- krebs/5pkgs/haskell-overrides/megaparsec.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 krebs/5pkgs/haskell-overrides/megaparsec.nix diff --git a/krebs/5pkgs/haskell-overrides/megaparsec.nix b/krebs/5pkgs/haskell-overrides/megaparsec.nix new file mode 100644 index 000000000..5ade6006e --- /dev/null +++ b/krebs/5pkgs/haskell-overrides/megaparsec.nix @@ -0,0 +1,20 @@ +{ 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; +} -- cgit v1.2.3