1{ lib, stdenv, fetchFromGitHub, xxd }:
2
3stdenv.mkDerivation rec {
4 pname = "otus-lisp";
5 version = "2.4";
6
7 src = fetchFromGitHub {
8 owner = "yuriy-chumak";
9 repo = "ol";
10 rev = version;
11 sha256 = "sha256-+6qH1BhvMkuG2rUOfo9qMjMjhCib9KONQTBWS27c3Ts=";
12 };
13
14 nativeBuildInputs = [ xxd ];
15
16 makeFlags = [ "PREFIX=$(out)" ];
17
18 meta = {
19 description = "A purely functional dialect of Lisp";
20 homepage = "https://yuriy-chumak.github.io/ol/";
21 license = with lib.licenses; [ mit lgpl3Only ]; # dual licensed
22 platforms = lib.platforms.unix;
23 maintainers = with lib.maintainers; [ nagy ];
24 };
25}