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