depot/third_party/nixpkgs/pkgs/tools/misc/mmake/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

34 lines
1,022 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mmake";
version = "1.4.0";
src = fetchFromGitHub {
owner = "tj";
repo = "mmake";
rev = "v${version}";
sha256 = "sha256-JPsVfLIl06PJ8Nsfu7ogwrttB1G93HTKbZFqUTSV9O8=";
};
vendorHash = "sha256-0z+sujzzBl/rtzXbhL4Os+jYfLUuO9PlXshUDxAH9DU=";
ldflags = [ "-s" "-w" ];
# Almost all tests require non-local networking, trying to resolve githubusercontent.com.
doCheck = false;
meta = with lib; {
homepage = "https://github.com/tj/mmake";
description = "Small program which wraps make to provide additional functionality";
longDescription = ''
Mmake is a small program which wraps make to provide additional
functionality, such as user-friendly help output, remote
includes, and eventually more. It otherwise acts as a
pass-through to standard make.
'';
license = licenses.mit;
maintainers = [ maintainers.gabesoft ];
mainProgram = "mmake";
};
}