mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 16:57:35 +00:00
Merge pull request #228912 from r-ryantm/auto-update/nali
nali: 0.7.1 -> 0.7.2
This commit is contained in:
commit
7319c3cf9a
@ -1,19 +1,28 @@
|
||||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
{ lib, fetchFromGitHub, buildGoModule, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "nali";
|
||||
version = "0.7.1";
|
||||
version = "0.7.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zu1k";
|
||||
repo = "nali";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ZJnQiTcfvxHFgRNytQANs/lF4hy0S0cXOy8IuGECYi0=";
|
||||
sha256 = "sha256-tIn5ty7faM9BBmUWCvok94QOAMVtz5daCPpZkDGOJfo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-TLij88IksL0+pARKVhEhPg6qUPAXMlL2DWJk4ynahUs=";
|
||||
vendorHash = "sha256-l3Fs1Hd0kXI56uotic1407tb4ltkCSMzqqozFpvobH8=";
|
||||
subPackages = [ "." ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd nali \
|
||||
--bash <($out/bin/nali completion bash) \
|
||||
--fish <($out/bin/nali completion fish) \
|
||||
--zsh <($out/bin/nali completion zsh)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An offline tool for querying IP geographic information and CDN provider";
|
||||
homepage = "https://github.com/zu1k/nali";
|
||||
|
Loading…
Reference in New Issue
Block a user