nixpkgs/pkgs/by-name/ot/otus-lisp/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
666 B
Nix
Raw Normal View History

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";
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 ];
mainProgram = "ol";
2023-07-23 13:45:00 +00:00
};
2023-11-26 23:15:00 +00:00
})