2022-05-18 14:49:53 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "mmake";
|
2022-05-18 14:49:53 +00:00
|
|
|
version = "1.4.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tj";
|
|
|
|
repo = "mmake";
|
|
|
|
rev = "v${version}";
|
2022-05-18 14:49:53 +00:00
|
|
|
sha256 = "sha256-JPsVfLIl06PJ8Nsfu7ogwrttB1G93HTKbZFqUTSV9O8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-0z+sujzzBl/rtzXbhL4Os+jYfLUuO9PlXshUDxAH9DU=";
|
2022-05-18 14:49:53 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
# Almost all tests require non-local networking, trying to resolve githubusercontent.com.
|
|
|
|
doCheck = false;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/tj/mmake";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Small program which wraps make to provide additional functionality";
|
2020-04-24 23:36:52 +00:00
|
|
|
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.
|
2022-05-18 14:49:53 +00:00
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.gabesoft ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "mmake";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|