b7edc2b30e
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/owl-lisp/versions. These checks were done: - built on NixOS - /nix/store/w56xh2wbvj0f9f7cs7px7jrwkw6lcb9q-owl-lisp-0.1.16/bin/ol passed the binary check. - Warning: no invocation of /nix/store/w56xh2wbvj0f9f7cs7px7jrwkw6lcb9q-owl-lisp-0.1.16/bin/ovm had a zero exit code or showed the expected version - 1 of 2 passed binary check by having a zero exit code. - 1 of 2 passed binary check by having the new version present in output. - found 0.1.16 with grep in /nix/store/w56xh2wbvj0f9f7cs7px7jrwkw6lcb9q-owl-lisp-0.1.16 - directory tree listing: https://gist.github.com/b4c2aa74b73f2272f18b1a116c55897a - du listing: https://gist.github.com/c130a766b1c674ed98f2f4e109186fe3
33 lines
816 B
Nix
33 lines
816 B
Nix
{ stdenv, fetchFromGitHub, coreutils, which }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "owl-lisp-${version}";
|
|
version = "0.1.16";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aoh";
|
|
repo = "owl-lisp";
|
|
rev = "v${version}";
|
|
sha256 = "1qp6p48bmlyn83rqi6k3d098dg4cribavg5rd4x17z37i181vxvj";
|
|
};
|
|
|
|
nativeBuildInputs = [ which ];
|
|
|
|
prePatch = ''
|
|
substituteInPlace Makefile --replace /usr $out
|
|
|
|
for f in tests/run tests/exec.sh ; do
|
|
substituteInPlace $f --replace /bin/echo ${coreutils}/bin/echo
|
|
done
|
|
'';
|
|
|
|
# tests are run as part of the compilation process
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A functional lisp";
|
|
homepage = https://github.com/aoh/owl-lisp;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
};
|
|
}
|