Merge pull request #67028 from peterhoeg/u/owl

owl-lisp: 0.1.16 -> 0.1.19
This commit is contained in:
Peter Hoeg 2019-08-26 14:34:51 +08:00 committed by GitHub
commit 3de05cd8b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
};
}