Merge pull request #168858 from aaronjheng/mmake

mmake: 1.2.0 -> 1.4.0
main
Bobby Rong 2 years ago committed by GitHub
commit cf4f51792c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      pkgs/tools/misc/mmake/default.nix
  2. 30
      pkgs/tools/misc/mmake/deps.nix

@ -1,19 +1,21 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "mmake";
version = "1.2.0";
goPackagePath = "github.com/tj/mmake";
version = "1.4.0";
src = fetchFromGitHub {
owner = "tj";
repo = "mmake";
rev = "v${version}";
sha256 = "1pyqgk04v0f7a28cwq9c40bd2cgrkrv4wqcijdzpgn4bqhrqab4f";
sha256 = "sha256-JPsVfLIl06PJ8Nsfu7ogwrttB1G93HTKbZFqUTSV9O8=";
};
goDeps = ./deps.nix;
vendorSha256 = "sha256-0z+sujzzBl/rtzXbhL4Os+jYfLUuO9PlXshUDxAH9DU=";
ldflags = [ "-s" "-w" ];
checkFlags = [ "-short" ];
meta = with lib; {
homepage = "https://github.com/tj/mmake";
@ -23,7 +25,7 @@ buildGoPackage rec {
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 ];
};

@ -1,30 +0,0 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
[
{
goPackagePath = "github.com/apex/log";
fetch = {
type = "git";
url = "https://github.com/apex/log";
rev = "0296d6eb16bb28f8a0c55668affcf4876dc269be";
sha256 = "067px84y73h60bai1yy6xqf2l05gq6zsp64fn58d4fwzk04aa16v";
};
}
{
goPackagePath = "github.com/pkg/errors";
fetch = {
type = "git";
url = "https://github.com/pkg/errors";
rev = "c605e284fe17294bda444b34710735b29d1a9d90";
sha256 = "1izjk4msnc6wn1mclg0ypa6i31zfwb1r3032k8q4jfbd57hp0bz6";
};
}
{
goPackagePath = "github.com/segmentio/go-env";
fetch = {
type = "git";
url = "https://github.com/segmentio/go-env";
rev = "ea0600a7760cd15ccca9057be4a87d68e95ee876";
sha256 = "0rgclbi0na5042cirr52lriwyb5a2rdpqx211zfwyrrvc3zq4lwq";
};
}
]
Loading…
Cancel
Save