btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / ot / otus-lisp / package.nix
blob71030e9a209e146d383c427fc34587a069014266
1 { lib, stdenv, fetchFromGitHub, xxd }:
3 stdenv.mkDerivation (finalAttrs: {
4   pname = "otus-lisp";
5   version = "2.5";
7   src = fetchFromGitHub {
8     owner = "yuriy-chumak";
9     repo = "ol";
10     rev = finalAttrs.version;
11     hash = "sha256-xwn2cvtw3co7MJ4J0FraEtZhKWVaaaoJYMrohyFF+us=";
12   };
14   nativeBuildInputs = [ xxd ];
16   makeFlags = [ "PREFIX=$(out)" ];
18   meta = {
19     description = "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     mainProgram = "ol";
25   };