From cb589b7ec81b51498f92b916441e8163221319ed Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Sun, 23 Jul 2023 15:45:00 +0200 Subject: [PATCH] otus-lisp: init at 2.4 --- .../compilers/otus-lisp/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/compilers/otus-lisp/default.nix diff --git a/pkgs/development/compilers/otus-lisp/default.nix b/pkgs/development/compilers/otus-lisp/default.nix new file mode 100644 index 000000000000..5338734e6c6d --- /dev/null +++ b/pkgs/development/compilers/otus-lisp/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, xxd }: + +stdenv.mkDerivation rec { + pname = "otus-lisp"; + version = "2.4"; + + src = fetchFromGitHub { + owner = "yuriy-chumak"; + repo = "ol"; + rev = version; + sha256 = "sha256-+6qH1BhvMkuG2rUOfo9qMjMjhCib9KONQTBWS27c3Ts="; + }; + + nativeBuildInputs = [ xxd ]; + + makeFlags = [ "PREFIX=$(out)" ]; + + meta = { + description = "A purely functional dialect of Lisp"; + homepage = "https://yuriy-chumak.github.io/ol/"; + license = with lib.licenses; [ mit lgpl3Only ]; # dual licensed + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ nagy ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 71be4c50eee4..c798c7b5b55e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3122,6 +3122,8 @@ with pkgs; owl-lisp = callPackage ../development/compilers/owl-lisp { }; + otus-lisp = callPackage ../development/compilers/otus-lisp { }; + ascii = callPackage ../tools/text/ascii { }; asciinema = callPackage ../tools/misc/asciinema { };