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