acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / un / unconvert / package.nix
blob478a111555a61ad3f52a39632a841afb6ba83aea
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "unconvert";
5   version = "0-unstable-2023-09-07";
7   src = fetchFromGitHub {
8     owner = "mdempsky";
9     repo = "unconvert";
10     rev = "415706980c061b6f71ea923bd206aec88785638f";
11     hash = "sha256-MchA8uvy+MyQ/VaglBDTC7j/lNIKAtGeeECLoFfH6pI=";
12   };
14   vendorHash = "sha256-vZDk+ZNCMP5RRNrgeIowdOKPot7rqM84JhlbfvcQbB4=";
16   ldflags = [ "-s" "-w" ];
18   meta = with lib; {
19     description = "Remove unnecessary type conversions from Go source";
20     mainProgram = "unconvert";
21     homepage = "https://github.com/mdempsky/unconvert";
22     license = licenses.bsd3;
23     maintainers = with maintainers; [ kalbasit ];
24   };