nixpkgs/pkgs/development/tools/build-managers/samurai/default.nix

24 lines
586 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2020-01-06 21:37:40 +00:00
stdenv.mkDerivation rec {
pname = "samurai";
2021-02-03 23:11:03 +00:00
version = "1.2";
2020-01-06 21:37:40 +00:00
src = fetchFromGitHub {
owner = "michaelforney";
repo = pname;
rev = version;
2021-02-03 23:11:03 +00:00
sha256 = "sha256-RPY3MFlnSDBZ5LOkdWnMiR/CZIBdqIFo9uLU+SAKPBI=";
2020-01-06 21:37:40 +00:00
};
makeFlags = [ "DESTDIR=" "PREFIX=${placeholder "out"}" ];
meta = with lib; {
2020-01-06 21:37:40 +00:00
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 ];
};
}