2014-09-27 04:30:30 +02:00
|
|
|
{ stdenv, agda, fetchdarcs, AgdaStdlib }:
|
|
|
|
|
|
|
|
agda.mkDerivation (self: rec {
|
2015-04-05 03:49:07 +02:00
|
|
|
version = "2015-03-19";
|
2014-09-27 04:30:30 +02:00
|
|
|
name = "pretty-${version}";
|
|
|
|
|
|
|
|
src = fetchdarcs {
|
|
|
|
url = "http://www.cse.chalmers.se/~nad/repos/pretty/";
|
|
|
|
context = ./contextfile;
|
2015-04-05 03:49:07 +02:00
|
|
|
sha256 = "0zmwh9kln7ykpmkx1qhqz64qm2arq62b17vs5fswnxk7mqxsmrf0";
|
2014-09-27 04:30:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildDepends = [ AgdaStdlib ];
|
|
|
|
everythingFile = "Pretty.agda";
|
|
|
|
sourceDirectories = [];
|
|
|
|
topSourceDirectories = [ "../$sourceRoot" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "http://www.cse.chalmers.se/~nad/publications/danielsson-correct-pretty.html";
|
|
|
|
description = "Correct-by-Construction Pretty-Printing";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = with maintainers; [ fuuzetsu ];
|
|
|
|
};
|
|
|
|
})
|