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