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