nixpkgs/pkgs/development/tools/unconvert/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
688 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2018-11-03 06:43:40 +03:00
buildGoModule rec {
pname = "unconvert";
version = "unstable-2022-09-18";
2018-11-03 06:43:40 +03:00
src = fetchFromGitHub {
owner = "mdempsky";
repo = "unconvert";
rev = "3f84926d692329767c21c2aef3dfb7889c956832";
sha256 = "sha256-vcRHriFCT5b8SKjtRSg+kZDcCAKySC1cKVq+FMZb+9M=";
2018-11-03 06:43:40 +03:00
};
vendorHash = "sha256-p77mLvGtohmC8J+bqqkM5kqc1pMPcFx7GhXOZ4q4jeM=";
ldflags = [ "-s" "-w" ];
2018-11-03 06:43:40 +03:00
meta = with lib; {
description = "Remove unnecessary type conversions from Go source";
mainProgram = "unconvert";
homepage = "https://github.com/mdempsky/unconvert";
2018-11-03 06:43:40 +03:00
license = licenses.bsd3;
maintainers = with maintainers; [ kalbasit ];
};
}