2023-07-23 13:45:00 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, xxd }:
|
|
|
|
|
2023-11-26 23:15:00 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2023-07-23 13:45:00 +00:00
|
|
|
pname = "otus-lisp";
|
2023-11-26 14:38:05 +00:00
|
|
|
version = "2.5";
|
2023-07-23 13:45:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yuriy-chumak";
|
|
|
|
repo = "ol";
|
2023-11-26 23:15:00 +00:00
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-xwn2cvtw3co7MJ4J0FraEtZhKWVaaaoJYMrohyFF+us=";
|
2023-07-23 13:45:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
2023-11-26 14:38:05 +00:00
|
|
|
mainProgram = "ol";
|
2023-07-23 13:45:00 +00:00
|
|
|
};
|
2023-11-26 23:15:00 +00:00
|
|
|
})
|