1{ lib, stdenv, fetchFromGitLab, which }:
2
3stdenv.mkDerivation rec {
4 pname = "owl-lisp";
5 version = "0.2.2";
6
7 src = fetchFromGitLab {
8 owner = "owl-lisp";
9 repo = "owl";
10 rev = "v${version}";
11 sha256 = "sha256-GfvOkYLo8fgAvGuUa59hDy+sWJSwyntwqMO8TAK/lUo=";
12 };
13
14 nativeBuildInputs = [ which ];
15
16 makeFlags = [ "PREFIX=${placeholder "out"}" "CC=${stdenv.cc.targetPrefix}cc" ];
17
18 # tests are run as part of the compilation process
19 doCheck = false;
20
21 meta = with lib; {
22 description = "A functional Scheme for world domination";
23 homepage = "https://gitlab.com/owl-lisp/owl";
24 license = licenses.mit;
25 maintainers = with maintainers; [ peterhoeg ];
26 platforms = platforms.unix;
27 };
28}