depot/third_party/nixpkgs/pkgs/by-name/ot/otus-lisp/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

26 lines
664 B
Nix

{ lib, stdenv, fetchFromGitHub, xxd }:
stdenv.mkDerivation (finalAttrs: {
pname = "otus-lisp";
version = "2.5";
src = fetchFromGitHub {
owner = "yuriy-chumak";
repo = "ol";
rev = finalAttrs.version;
hash = "sha256-xwn2cvtw3co7MJ4J0FraEtZhKWVaaaoJYMrohyFF+us=";
};
nativeBuildInputs = [ xxd ];
makeFlags = [ "PREFIX=$(out)" ];
meta = {
description = "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";
};
})