forked from mirrors/nixpkgs
29 lines
733 B
Nix
29 lines
733 B
Nix
{ lib, stdenv, fetchFromGitLab, which }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "owl-lisp";
|
|
version = "0.2";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "owl-lisp";
|
|
repo = "owl";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-G12yZxlq6Hss5j4Seq1hcPQWXMIeL2Z8VkBdmIGESX8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ which ];
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" "CC=${stdenv.cc.targetPrefix}cc" ];
|
|
|
|
# tests are run as part of the compilation process
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "A functional Scheme for world domination";
|
|
homepage = "https://gitlab.com/owl-lisp/owl";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|