2019-08-20 06:27:02 +00:00
|
|
|
{ stdenv, fetchFromGitLab, coreutils, which }:
|
2017-07-21 12:03:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-20 06:27:02 +00:00
|
|
|
pname = "owl-lisp";
|
2020-11-04 01:17:12 +00:00
|
|
|
version = "0.1.23";
|
2017-07-21 12:03:20 +00:00
|
|
|
|
2019-08-20 06:27:02 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "owl-lisp";
|
|
|
|
repo = "owl";
|
2017-07-21 12:03:20 +00:00
|
|
|
rev = "v${version}";
|
2020-11-04 01:17:12 +00:00
|
|
|
sha256 = "1indcbicqcdlk9sinkdyhk50fi1b4cb7yrr14vr874gjzmwr2l3i";
|
2017-07-21 12:03:20 +00:00
|
|
|
};
|
|
|
|
|
2018-05-10 14:27:56 +00:00
|
|
|
nativeBuildInputs = [ which ];
|
|
|
|
|
2017-07-21 12:03:20 +00:00
|
|
|
prePatch = ''
|
2019-08-20 06:27:02 +00:00
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace /usr $out
|
2017-07-21 12:03:20 +00:00
|
|
|
'';
|
|
|
|
|
2018-05-10 14:27:56 +00:00
|
|
|
# tests are run as part of the compilation process
|
2017-07-21 12:03:20 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-08-20 06:27:02 +00:00
|
|
|
description = "A functional Scheme for world domination";
|
|
|
|
homepage = "https://gitlab.com/owl-lisp/owl";
|
2017-07-21 12:03:20 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
2019-08-20 06:27:02 +00:00
|
|
|
platforms = platforms.linux;
|
2017-07-21 12:03:20 +00:00
|
|
|
};
|
|
|
|
}
|