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

38 lines
809 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, mlton }:
2016-09-23 05:31:58 +01:00
stdenv.mkDerivation {
pname = "redprl";
version = "unstable-2019-11-04";
src = fetchFromGitHub {
owner = "RedPRL";
repo = "sml-redprl";
rev = "c72190de76f7ed1cfbe1d2046c96e99ac5022b0c";
2016-09-23 05:31:58 +01:00
fetchSubmodules = true;
sha256 = "sha256-xrQT5o0bsIN+mCYUOz9iY4+j3HGROb1I6R2ADcLy8n4=";
2016-09-23 05:31:58 +01:00
};
2016-09-23 05:31:58 +01:00
buildInputs = [ mlton ];
postPatch = ''
2016-09-27 23:24:06 +01:00
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 = with lib; {
2016-09-23 05:31:58 +01:00
description = "A proof assistant for Nominal Computational Type Theory";
homepage = "http://www.redprl.org/";
license = licenses.mit;
maintainers = with maintainers; [ acowley ];
platforms = platforms.unix;
2016-09-23 05:31:58 +01:00
};
}