27 lines
796 B
Nix
27 lines
796 B
Nix
|
{ 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 ];
|
||
|
builder = builtins.toFile "builder.sh" ''
|
||
|
source $stdenv/setup
|
||
|
mkdir -p $out/bin
|
||
|
cp -r $src/* .
|
||
|
chmod -R +w src
|
||
|
./script/mlton.sh
|
||
|
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;
|
||
|
};
|
||
|
}
|