inframap: add changelog to meta

authored by

Fabian Affolter and committed by
GitHub
96eb5b2a 28682679

+4 -2
+4 -2
pkgs/by-name/in/inframap/package.nix
··· 3 3 fetchFromGitHub, 4 4 lib, 5 5 }: 6 + 6 7 buildGoModule rec { 7 8 pname = "inframap"; 8 9 version = "0.8.0"; ··· 10 11 src = fetchFromGitHub { 11 12 owner = "cycloidio"; 12 13 repo = "inframap"; 13 - rev = "v${version}"; 14 + tag = "v${version}"; 14 15 hash = "sha256-IdXP/gw81rQsaHz+uwEB9ThtHlbPYLXcYTYdwJynpVU="; 15 16 }; 16 17 17 18 ldflags = [ 18 19 "-s" 19 20 "-w" 20 - "-X github.com/cycloidio/inframap/cmd.Version=${version}" 21 + "-X=github.com/cycloidio/inframap/cmd.Version=${version}" 21 22 ]; 22 23 23 24 vendorHash = "sha256-cEKrxuuksMEEVJEZ9/ZU2/MMxWZKlO05DkNX4n3ug/0="; ··· 25 26 meta = with lib; { 26 27 description = "Read your tfstate or HCL to generate a graph specific for each provider, showing only the resources that are most important/relevant"; 27 28 homepage = "https://github.com/cycloidio/inframap"; 29 + changelog = "https://github.com/cycloidio/inframap/releases/tag/${src.tag}"; 28 30 license = licenses.mit; 29 31 maintainers = with maintainers; [ urandom ]; 30 32 };