depot/third_party/nixpkgs/pkgs/development/tools/build-managers/samurai/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
589 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "samurai";
version = "1.1";
src = fetchFromGitHub {
owner = "michaelforney";
repo = pname;
rev = version;
sha256 = "0k0amxpi3v9v68a8vc69r4b86xs12vhzm0wxd7f11vap1pnqz2cz";
};
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 ];
};
}