nixpkgs/pkgs/development/compilers/owl-lisp/default.nix

32 lines
750 B
Nix
Raw Normal View History

2019-08-20 06:27:02 +00:00
{ stdenv, fetchFromGitLab, coreutils, which }:
2017-07-21 12:03:20 +00:00
stdenv.mkDerivation rec {
2019-08-20 06:27:02 +00:00
pname = "owl-lisp";
version = "0.1.19";
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}";
2019-08-20 06:27:02 +00:00
sha256 = "1bgjd2gkr5risfcc401rlr5fc82gwm4r2gpp9gzkg9h64acivkjx";
2017-07-21 12:03:20 +00:00
};
2018-05-10 14:27:56 +00:00
nativeBuildInputs = [ which ];
2017-07-21 12:03:20 +00:00
prePatch = ''
2019-08-20 06:27:02 +00:00
substituteInPlace Makefile \
--replace /usr $out
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;
meta = with stdenv.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 ];
2019-08-20 06:27:02 +00:00
platforms = platforms.linux;
2017-07-21 12:03:20 +00:00
};
}