owl-lisp: 0.1.16 -> 0.1.19

This commit is contained in:
Peter Hoeg 2019-08-20 14:27:02 +08:00
parent 1412af4b2c
commit abb41a1111

View File

@ -1,33 +1,31 @@
{ stdenv, fetchFromGitHub, coreutils, which }: { stdenv, fetchFromGitLab, coreutils, which }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "owl-lisp-${version}"; pname = "owl-lisp";
version = "0.1.16"; version = "0.1.19";
src = fetchFromGitHub { src = fetchFromGitLab {
owner = "aoh"; owner = "owl-lisp";
repo = "owl-lisp"; repo = "owl";
rev = "v${version}"; rev = "v${version}";
sha256 = "1qp6p48bmlyn83rqi6k3d098dg4cribavg5rd4x17z37i181vxvj"; sha256 = "1bgjd2gkr5risfcc401rlr5fc82gwm4r2gpp9gzkg9h64acivkjx";
}; };
nativeBuildInputs = [ which ]; nativeBuildInputs = [ which ];
prePatch = '' prePatch = ''
substituteInPlace Makefile --replace /usr $out 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 # tests are run as part of the compilation process
doCheck = false; doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A functional lisp"; description = "A functional Scheme for world domination";
homepage = https://github.com/aoh/owl-lisp; homepage = "https://gitlab.com/owl-lisp/owl";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux;
}; };
} }