2021-02-13 01:31:00 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, which }:
|
2017-07-21 12:03:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-20 06:27:02 +00:00
|
|
|
pname = "owl-lisp";
|
2023-01-14 16:19:21 +00:00
|
|
|
version = "0.2.1";
|
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}";
|
2023-01-14 16:19:21 +00:00
|
|
|
sha256 = "sha256-TQOj3DYmzFT4ClZ/sBAOs5XJWRgGTaVQjH+8JotSb1A=";
|
2017-07-21 12:03:20 +00:00
|
|
|
};
|
|
|
|
|
2018-05-10 14:27:56 +00:00
|
|
|
nativeBuildInputs = [ which ];
|
|
|
|
|
2021-02-16 11:48:46 +00:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" "CC=${stdenv.cc.targetPrefix}cc" ];
|
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;
|
|
|
|
|
2021-01-22 11:25:31 +00:00
|
|
|
meta = with 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 ];
|
2021-02-13 01:31:00 +00:00
|
|
|
platforms = platforms.unix;
|
2017-07-21 12:03:20 +00:00
|
|
|
};
|
|
|
|
}
|