nixpkgs/pkgs/development/libraries/agda/TotalParserCombinators/default.nix
Mateusz Kowalczyk d466b40bb3 agda-TotalParserCombinators: update darcs revision
Fixes the package for new Agda version
2014-12-03 17:13:48 +00:00

25 lines
868 B
Nix

{ stdenv, agda, fetchdarcs, AgdaStdlib }:
agda.mkDerivation (self: rec {
version = "2014-11-28";
name = "TotalParserCombinators-${version}";
src = fetchdarcs {
url = "http://www.cse.chalmers.se/~nad/repos/parser-combinators.code/";
context = ./contextfile;
sha256 = "03fjrgj0749929h5zz6yfz5x9h7fln95c8ydrm44550350n4xjvk";
};
buildDepends = [ AgdaStdlib ];
everythingFile = "TotalParserCombinators.agda";
sourceDirectories = [];
topSourceDirectories = [ "../$sourceRoot" ];
meta = with stdenv.lib; {
homepage = "http://www.cse.chalmers.se/~nad/publications/danielsson-parser-combinators.html";
description = "A monadic parser combinator library which guarantees termination of parsing";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
maintainers = with maintainers; [ fuuzetsu ];
};
})