2022-03-05 16:20:37 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "rdap";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.9.1";
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-8b1EAnR8PkEAw9yLBqPKFeANJit0OCJG+fssAGR/iTk=";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "openrdap";
|
|
|
|
repo = "rdap";
|
2023-05-24 13:37:59 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-FiaUyhiwKXZ3xnFPmdxb8bpbm5eRRFNDL3duOGDnc/A=";
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X \"github.com/openrdap/rdap.version=OpenRDAP ${version}\"" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.openrdap.org/";
|
|
|
|
description = "Command line client for the Registration Data Access Protocol (RDAP)";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sebastianblunt ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "rdap";
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
}
|