2016-09-23 05:31:58 +01:00
|
|
|
{ stdenv, fetchgit, mlton }:
|
|
|
|
stdenv.mkDerivation {
|
2017-03-28 21:02:30 +01:00
|
|
|
name = "redprl-2017-03-28";
|
2016-09-23 05:31:58 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/RedPRL/sml-redprl.git";
|
2017-03-28 21:02:30 +01:00
|
|
|
rev = "bdf027de732e4a8d10f9f954389dfff0c822f18b";
|
|
|
|
sha256 = "0cihwnd78d3ksxp6mppifm7xpi3fsii5mixvicajy87ggw8z305c";
|
2016-09-23 05:31:58 +01:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
buildInputs = [ mlton ];
|
2016-09-27 23:24:06 +01:00
|
|
|
patchPhase = ''
|
|
|
|
patchShebangs ./script/
|
|
|
|
'';
|
2016-09-29 01:52:29 +01:00
|
|
|
buildPhase = ''
|
2016-09-23 05:31:58 +01:00
|
|
|
./script/mlton.sh
|
2016-09-29 01:52:29 +01:00
|
|
|
'';
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
2016-09-23 05:31:58 +01:00
|
|
|
mv ./bin/redprl $out/bin
|
|
|
|
'';
|
|
|
|
meta = {
|
|
|
|
description = "A proof assistant for Nominal Computational Type Theory";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.redprl.org/;
|
2016-09-23 05:31:58 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.acowley ];
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|