chglog: init at 0.6.2 (#376074)

authored by rewine and committed by GitHub 13152985 e40f9eb4

+36
+36
pkgs/by-name/ch/chglog/package.nix
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + }: 6 + 7 + buildGoModule rec { 8 + pname = "chglog"; 9 + version = "0.6.2"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "goreleaser"; 13 + repo = "chglog"; 14 + tag = "v${version}"; 15 + hash = "sha256-A6PqsyYfhIu3DF1smD5NRLRwISUB806hMQNtDq0G/8Y="; 16 + }; 17 + 18 + vendorHash = "sha256-CbpSlAQLHRyT5Uo9rY/gr+F2jAcqA9M8E8+l3PncdXE="; 19 + 20 + ldflags = [ 21 + "-s" 22 + "-w" 23 + "-X=main.version=${version}" 24 + "-X=main.builtBy=nixpkgs" 25 + ]; 26 + 27 + meta = { 28 + description = "Changelog management library and tool"; 29 + homepage = "https://github.com/goreleaser/chglog"; 30 + changelog = "https://github.com/goreleaser/chglog/releases/tag/v${version}"; 31 + license = lib.licenses.mit; 32 + platforms = lib.platforms.unix; 33 + maintainers = with lib.maintainers; [ rewine ]; 34 + mainProgram = "chglog"; 35 + }; 36 + }