nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

checkip: add changelog to meta

authored by

Fabian Affolter and committed by
GitHub
d8f440ad 1d4afe48

+8 -2
+8 -2
pkgs/tools/networking/checkip/default.nix
··· 10 10 src = fetchFromGitHub { 11 11 owner = "jreisinger"; 12 12 repo = pname; 13 - rev = "v${version}"; 14 - sha256 = "sha256-U0jHwKmGHpaHSiOYDeYCXiufw0JjzAmhBnINmFsqOJo="; 13 + rev = "refs/tags/v${version}"; 14 + hash = "sha256-U0jHwKmGHpaHSiOYDeYCXiufw0JjzAmhBnINmFsqOJo="; 15 15 }; 16 16 17 17 vendorHash = "sha256-9/z1mtZGqrvcvq8cWBpYN7kaPHaPqtyMwMNxuRRP4Cs="; 18 + 19 + ldflags = [ 20 + "-w" 21 + "-s" 22 + ]; 18 23 19 24 # Requires network 20 25 doCheck = false; ··· 27 22 meta = with lib; { 28 23 description = "CLI tool that checks an IP address using various public services"; 29 24 homepage = "https://github.com/jreisinger/checkip"; 25 + changelog = "https://github.com/jreisinger/checkip/releases/tag/v${version}"; 30 26 license = licenses.asl20; 31 27 maintainers = with maintainers; [ fab ]; 32 28 };