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

32 lines
750 B
Nix
Raw Normal View History

2019-08-20 07:27:02 +01:00
{ stdenv, fetchFromGitLab, coreutils, which }:
2017-07-21 13:03:20 +01:00
stdenv.mkDerivation rec {
2019-08-20 07:27:02 +01:00
pname = "owl-lisp";
version = "0.1.19";
2017-07-21 13:03:20 +01:00
2019-08-20 07:27:02 +01:00
src = fetchFromGitLab {
owner = "owl-lisp";
repo = "owl";
2017-07-21 13:03:20 +01:00
rev = "v${version}";
2019-08-20 07:27:02 +01:00
sha256 = "1bgjd2gkr5risfcc401rlr5fc82gwm4r2gpp9gzkg9h64acivkjx";
2017-07-21 13:03:20 +01:00
};
2018-05-10 15:27:56 +01:00
nativeBuildInputs = [ which ];
2017-07-21 13:03:20 +01:00
prePatch = ''
2019-08-20 07:27:02 +01:00
substituteInPlace Makefile \
--replace /usr $out
2017-07-21 13:03:20 +01:00
'';
2018-05-10 15:27:56 +01:00
# tests are run as part of the compilation process
2017-07-21 13:03:20 +01:00
doCheck = false;
meta = with stdenv.lib; {
2019-08-20 07:27:02 +01:00
description = "A functional Scheme for world domination";
homepage = "https://gitlab.com/owl-lisp/owl";
2017-07-21 13:03:20 +01:00
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
2019-08-20 07:27:02 +01:00
platforms = platforms.linux;
2017-07-21 13:03:20 +01:00
};
}