mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
35 lines
936 B
Nix
35 lines
936 B
Nix
{ fetchgit, stdenv, smlnj, which }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "JonPRL";
|
|
version = "v0.1.0";
|
|
|
|
src = fetchgit {
|
|
url = "https://github.com/jonsterling/JonPRL.git";
|
|
deepClone = true;
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "1z0d8dq1nb4dycic58nnk617hbfgafz0vmwr8gkl0i6405gfg1zy";
|
|
};
|
|
|
|
buildInputs = [ smlnj which ];
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out/bin"
|
|
cp bin/.heapimg.* "$out/bin/"
|
|
build/mkexec.sh "${smlnj}/bin/sml" "$out" jonprl
|
|
'';
|
|
|
|
meta = {
|
|
description = "Proof Refinement Logic - Computational Type Theory";
|
|
longDescription = ''
|
|
An proof refinement logic for computational type theory
|
|
based on Brouwer-realizability & meaning explanations.
|
|
Inspired by Nuprl
|
|
'';
|
|
homepage = http://www.jonprl.org/;
|
|
license = stdenv.lib.licenses.mit;
|
|
maintainers = with stdenv.lib.maintainers; [ puffnfresh ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|