depot/third_party/nixpkgs/pkgs/applications/science/logic/redprl/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
784 B
Nix

{ stdenv, fetchgit, mlton }:
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/";
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.acowley ];
platforms = stdenv.lib.platforms.unix;
};
}