3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/logic/redprl/default.nix

29 lines
768 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchgit, mlton }:
2016-09-23 05:31:58 +01:00
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/";
2021-01-15 13:21:58 +00:00
license = lib.licenses.mit;
maintainers = [ lib.maintainers.acowley ];
platforms = lib.platforms.unix;
2016-09-23 05:31:58 +01:00
};
}