2020-01-06 21:37:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "samurai";
|
2020-04-01 19:48:01 +01:00
|
|
|
version = "1.1";
|
2020-01-06 21:37:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "michaelforney";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-04-01 19:48:01 +01:00
|
|
|
sha256 = "0k0amxpi3v9v68a8vc69r4b86xs12vhzm0wxd7f11vap1pnqz2cz";
|
2020-01-06 21:37:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "DESTDIR=" "PREFIX=${placeholder "out"}" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "ninja-compatible build tool written in C";
|
|
|
|
homepage = "https://github.com/michaelforney/samurai";
|
|
|
|
license = with licenses; [ mit asl20 ]; # see LICENSE
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|