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 {
name = "owl-lisp-${version}";
version = "0.1.16";
pname = "owl-lisp";
version = "0.1.19";
src = fetchFromGitHub {
owner = "aoh";
repo = "owl-lisp";
src = fetchFromGitLab {
owner = "owl-lisp";
repo = "owl";
rev = "v${version}";
sha256 = "1qp6p48bmlyn83rqi6k3d098dg4cribavg5rd4x17z37i181vxvj";
sha256 = "1bgjd2gkr5risfcc401rlr5fc82gwm4r2gpp9gzkg9h64acivkjx";
};
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
substituteInPlace Makefile \
--replace /usr $out
'';
# 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;
description = "A functional Scheme for world domination";
homepage = "https://gitlab.com/owl-lisp/owl";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux;
};
}