Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 47 lines 1.4 kB view raw
1{ 2 lib, 3 fetchurl, 4 stdenv, 5 libffi, 6 readline, 7}: 8 9stdenv.mkDerivation (finalAttrs: { 10 pname = "newlisp"; 11 version = "10.7.5"; 12 13 src = fetchurl { 14 url = "https://www.newlisp.org/downloads/newlisp-${finalAttrs.version}.tgz"; 15 hash = "sha256-3C0P9lHCsnW8SvOvi6WYUab7bh6t3CCudftgsekBJuw="; 16 }; 17 18 buildInputs = [ 19 libffi 20 readline 21 ]; 22 23 configureScript = "./configure-alt"; 24 25 doCheck = true; 26 checkTarget = "testall"; 27 28 meta = { 29 description = "Lisp-like, general-purpose scripting language"; 30 longDescription = '' 31 newLISP is a Lisp-like, general-purpose scripting language. It is 32 especially well-suited for applications in AI, simulation, natural 33 language processing, big data, machine learning and statistics. Because 34 of its small resource requirements, newLISP is excellent for embedded 35 systems applications. Most of the functions you will ever need are 36 already built in. This includes networking functions, support for 37 distributed and multicore processing, and Bayesian statistics. 38 ''; 39 homepage = "https://www.newlisp.org/"; 40 downloadPage = "https://www.newlisp.org/downloads/"; 41 changelog = "https://www.newlisp.org/downloads/newlisp-${finalAttrs.version}/doc/CHANGES"; 42 license = lib.licenses.gpl3Plus; 43 maintainers = with lib.maintainers; [ rc-zb ]; 44 mainProgram = "newlisp"; 45 platforms = lib.platforms.all; 46 }; 47})