2015-08-18 02:36:24 +01:00
|
|
|
{ fetchgit, stdenv, smlnj, which }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-09 13:48:55 +01:00
|
|
|
name = "jonprl-${version}";
|
|
|
|
version = "0.1.0";
|
2015-08-18 02:36:24 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/jonsterling/JonPRL.git";
|
|
|
|
deepClone = true;
|
2015-09-09 13:48:55 +01:00
|
|
|
rev = "refs/tags/v${version}";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "0czs13syvnw8fz24d075n4pmsyfs8rs8c7ksmvd7cgb3h55fvp4p";
|
2015-08-18 02:36:24 +01: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
|
|
|
|
'';
|
2018-09-01 23:36:01 +01:00
|
|
|
homepage = https://github.com/jonsterling/JonPRL;
|
2015-08-18 02:36:24 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ puffnfresh ];
|
2017-09-22 19:03:17 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-08-18 02:36:24 +01:00
|
|
|
};
|
|
|
|
}
|