From a3c26fec3221af2e217bd13c82f035c0a8c0f581 Mon Sep 17 00:00:00 2001 From: Anthony Cowley Date: Fri, 23 Sep 2016 00:31:58 -0400 Subject: [PATCH] redprl: init at 2016-09-22 --- lib/maintainers.nix | 1 + .../science/logic/redprl/default.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 29 insertions(+) create mode 100644 pkgs/applications/science/logic/redprl/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 24b87a5f36a0..ec15ab5910f7 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -12,6 +12,7 @@ abbradar = "Nikolay Amiantov "; aboseley = "Adam Boseley "; abuibrahim = "Ruslan Babayev "; + acowley = "Anthony Cowley "; adev = "Adrien Devresse "; Adjective-Object = "Maxwell Huang-Hobbs "; adnelson = "Allen Nelson "; diff --git a/pkgs/applications/science/logic/redprl/default.nix b/pkgs/applications/science/logic/redprl/default.nix new file mode 100644 index 000000000000..1df3fa940f94 --- /dev/null +++ b/pkgs/applications/science/logic/redprl/default.nix @@ -0,0 +1,26 @@ +{ 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4d8645639852..0b8e88c5b0ec 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17471,6 +17471,8 @@ in putty = callPackage ../applications/networking/remote/putty { }; + redprl = callPackage ../applications/science/logic/redprl { }; + retroarchBare = callPackage ../misc/emulators/retroarch { }; retroarch = wrapRetroArch { retroarch = retroarchBare; };