2021-01-15 13:21:58 +00:00
|
|
|
{ fetchgit, lib, stdenv, smlnj, which }:
|
2015-08-18 01:36:24 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "jonprl";
|
2015-09-09 12:48:55 +00:00
|
|
|
version = "0.1.0";
|
2015-08-18 01:36:24 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/jonsterling/JonPRL.git";
|
|
|
|
deepClone = true;
|
2015-09-09 12:48:55 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2016-06-02 11:26:44 +00:00
|
|
|
sha256 = "0czs13syvnw8fz24d075n4pmsyfs8rs8c7ksmvd7cgb3h55fvp4p";
|
2015-08-18 01:36:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/jonsterling/JonPRL";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ puffnfresh ];
|
|
|
|
platforms = lib.platforms.linux;
|
2019-10-07 15:20:23 +00:00
|
|
|
broken = true;
|
2015-08-18 01:36:24 +00:00
|
|
|
};
|
|
|
|
}
|