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 { };