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

29 lines
784 B
Nix
Raw Normal View History

2016-09-22 21:31:58 -07:00
{ stdenv, fetchgit, mlton }:
stdenv.mkDerivation {
name = "redprl-2016-09-22";
src = fetchgit {
url = "https://github.com/RedPRL/sml-redprl.git";
rev = "3215faf0d494f4ac14d6e10172329a161df192c4";
sha256 = "0pcq4q9xy34j7ziwbly4qxccpkcrl92r9y11bv6hdkbzwm1g2a77";
fetchSubmodules = true;
};
buildInputs = [ mlton ];
2016-09-27 15:24:06 -07:00
patchPhase = ''
patchShebangs ./script/
'';
buildPhase = ''
2016-09-22 21:31:58 -07:00
./script/mlton.sh
'';
installPhase = ''
mkdir -p $out/bin
2016-09-22 21:31:58 -07:00
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;
};
}