diff options
author | Bobby Rong <rjl931189261@126.com> | 2022-05-08 14:02:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 14:02:13 +0800 |
commit | cf4f51792c788565ba8be83373e85f0f06c73888 (patch) | |
tree | c6ec72a2780e0cc838b161cad245ebbee84b7c31 /pkgs/tools | |
parent | 60480a51d566582d69425a168b3982e0477c322d (diff) | |
parent | aa977f5b7724e24fed379a9a46c4414e08a87ee1 (diff) | |
download | nixpkgs-cf4f51792c788565ba8be83373e85f0f06c73888.tar nixpkgs-cf4f51792c788565ba8be83373e85f0f06c73888.tar.gz nixpkgs-cf4f51792c788565ba8be83373e85f0f06c73888.tar.bz2 nixpkgs-cf4f51792c788565ba8be83373e85f0f06c73888.tar.lz nixpkgs-cf4f51792c788565ba8be83373e85f0f06c73888.tar.xz nixpkgs-cf4f51792c788565ba8be83373e85f0f06c73888.tar.zst nixpkgs-cf4f51792c788565ba8be83373e85f0f06c73888.zip |
Merge pull request #168858 from aaronjheng/mmake
mmake: 1.2.0 -> 1.4.0
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/mmake/default.nix | 18 | ||||
-rw-r--r-- | pkgs/tools/misc/mmake/deps.nix | 30 |
2 files changed, 10 insertions, 38 deletions
diff --git a/pkgs/tools/misc/mmake/default.nix b/pkgs/tools/misc/mmake/default.nix index 564e1989aee..2172b8b958c 100644 --- a/pkgs/tools/misc/mmake/default.nix +++ b/pkgs/tools/misc/mmake/default.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 ]; }; diff --git a/pkgs/tools/misc/mmake/deps.nix b/pkgs/tools/misc/mmake/deps.nix deleted file mode 100644 index 0721ad0af60..00000000000 --- a/pkgs/tools/misc/mmake/deps.nix +++ /dev/null @@ -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"; - }; - } -] |