nixpkgs/pkgs/applications/science/logic/redprl/default.nix

29 lines
782 B
Nix
Raw Normal View History

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/
'';
buildPhase = ''
2016-09-23 05:31:58 +01:00
./script/mlton.sh
'';
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";
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;
};
}