1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/development/tools/build-managers/samurai/default.nix
2021-02-03 23:11:03 +00:00

24 lines
586 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "samurai";
version = "1.2";
src = fetchFromGitHub {
owner = "michaelforney";
repo = pname;
rev = version;
sha256 = "sha256-RPY3MFlnSDBZ5LOkdWnMiR/CZIBdqIFo9uLU+SAKPBI=";
};
makeFlags = [ "DESTDIR=" "PREFIX=${placeholder "out"}" ];
meta = with 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 ];
};
}