From 06d11b099ea533e531f1df9446a55c9d954c19d1 Mon Sep 17 00:00:00 2001 From: Diffumist Date: Wed, 10 Nov 2021 16:27:32 +0800 Subject: [PATCH] nali: init at 0.3.2 --- pkgs/applications/networking/nali/default.nix | 24 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/applications/networking/nali/default.nix diff --git a/pkgs/applications/networking/nali/default.nix b/pkgs/applications/networking/nali/default.nix new file mode 100644 index 000000000000..9e0978c80d6e --- /dev/null +++ b/pkgs/applications/networking/nali/default.nix @@ -0,0 +1,24 @@ +{ lib, fetchFromGitHub, buildGoModule }: + +buildGoModule rec { + pname = "nali"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "zu1k"; + repo = "nali"; + rev = "v${version}"; + sha256 = "sha256-iRLoUBA+Kzv1/LZQ8HCvR79K1riYErxEWhB0OmvFy2g="; + }; + + vendorSha256 = "sha256-Kb2T+zDUuH+Rx8amYsTIhR5L3DIx5nGcDGqxHOn90NU="; + subPackages = [ "." ]; + runVend = true; + + meta = with lib; { + description = "An offline tool for querying IP geographic information and CDN provider"; + homepage = "https://github.com/zu1k/nali"; + license = licenses.mit; + maintainers = with maintainers; [ diffumist ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 20aee3ff0962..548d6e3cefc3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26709,6 +26709,8 @@ with pkgs; nload = callPackage ../applications/networking/nload { }; + nali = callPackage ../applications/networking/nali { }; + normalize = callPackage ../applications/audio/normalize { }; mailspring = callPackage ../applications/networking/mailreaders/mailspring {};