From cd987029e71ebe40d799fbf4e0f29b611919cba0 Mon Sep 17 00:00:00 2001 From: rczb Date: Tue, 3 Sep 2024 09:39:39 +0800 Subject: [PATCH 1/2] maintainers: add rc-zb --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index a094ff3628f7..f296a1576f33 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -18078,6 +18078,12 @@ name = "Roland Conybeare"; keys = [ { fingerprint = "bw5Cr/4ul1C2UvxopphbZbFI1i5PCSnOmPID7mJ/Ogo"; } ]; }; + rc-zb = { + name = "Xiao Haifan"; + email = "rc-zb@outlook.com"; + github = "rc-zb"; + githubId = 161540043; + }; rdnetto = { email = "rdnetto@gmail.com"; github = "rdnetto"; From 3c406f13b5219c6ecb7c177176101e0780e8005e Mon Sep 17 00:00:00 2001 From: rczb Date: Tue, 3 Sep 2024 10:47:42 +0800 Subject: [PATCH 2/2] newlisp: init at 10.7.5 --- pkgs/by-name/ne/newlisp/package.nix | 47 +++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 pkgs/by-name/ne/newlisp/package.nix diff --git a/pkgs/by-name/ne/newlisp/package.nix b/pkgs/by-name/ne/newlisp/package.nix new file mode 100644 index 000000000000..c38df75a3e25 --- /dev/null +++ b/pkgs/by-name/ne/newlisp/package.nix @@ -0,0 +1,47 @@ +{ + lib, + fetchurl, + stdenv, + libffi, + readline, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "newlisp"; + version = "10.7.5"; + + src = fetchurl { + url = "https://www.newlisp.org/downloads/newlisp-${finalAttrs.version}.tgz"; + hash = "sha256-3C0P9lHCsnW8SvOvi6WYUab7bh6t3CCudftgsekBJuw="; + }; + + buildInputs = [ + libffi + readline + ]; + + configureScript = "./configure-alt"; + + doCheck = true; + checkTarget = "testall"; + + meta = { + description = "Lisp-like, general-purpose scripting language"; + longDescription = '' + newLISP is a Lisp-like, general-purpose scripting language. It is + especially well-suited for applications in AI, simulation, natural + language processing, big data, machine learning and statistics. Because + of its small resource requirements, newLISP is excellent for embedded + systems applications. Most of the functions you will ever need are + already built in. This includes networking functions, support for + distributed and multicore processing, and Bayesian statistics. + ''; + homepage = "https://www.newlisp.org/"; + downloadPage = "https://www.newlisp.org/downloads/"; + changelog = "https://www.newlisp.org/downloads/newlisp-${finalAttrs.version}/doc/CHANGES"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ rc-zb ]; + mainProgram = "newlisp"; + platforms = lib.platforms.linux; + }; +})