mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
commit
6e56adb226
32
pkgs/tools/networking/ain/default.nix
Normal file
32
pkgs/tools/networking/ain/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ain";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jonaslu";
|
||||
repo = "ain";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-QBtnVtTGONbYToGhZ0L4CZ3o2hViEN1l94ZKJHVMd1w=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-eyB+0D0+4hHG4yKDj/m9QB+8YTyv+por8fTyu/WcZyg=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=main.gitSha=${src.rev}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A HTTP API client for the terminal";
|
||||
homepage = "https://github.com/jonaslu/ain";
|
||||
changelog = "https://github.com/jonaslu/ain/releases/tag/${src.rev}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
@ -1454,6 +1454,8 @@ with pkgs;
|
||||
|
||||
aide = callPackage ../tools/security/aide { };
|
||||
|
||||
ain = callPackage ../tools/networking/ain { };
|
||||
|
||||
aioblescan = with python3Packages; toPythonApplication aioblescan;
|
||||
|
||||
aiodnsbrute = callPackage ../tools/security/aiodnsbrute { };
|
||||
|
Loading…
Reference in New Issue
Block a user