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-10-31 22:21:18 +00:00
|
|
|
version = "0.2.2";
|
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}";
|
2024-07-13 13:27:47 +00:00
|
|
|
hash = "sha256-GfvOkYLo8fgAvGuUa59hDy+sWJSwyntwqMO8TAK/lUo=";
|
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 = "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
|
|
|
};
|
|
|
|
}
|