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

25 lines
688 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "unconvert";
version = "0-unstable-2023-09-07";
src = fetchFromGitHub {
owner = "mdempsky";
repo = "unconvert";
rev = "415706980c061b6f71ea923bd206aec88785638f";
hash = "sha256-MchA8uvy+MyQ/VaglBDTC7j/lNIKAtGeeECLoFfH6pI=";
};
vendorHash = "sha256-vZDk+ZNCMP5RRNrgeIowdOKPot7rqM84JhlbfvcQbB4=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Remove unnecessary type conversions from Go source";
mainProgram = "unconvert";
homepage = "https://github.com/mdempsky/unconvert";
license = licenses.bsd3;
maintainers = with maintainers; [ kalbasit ];
};
}