nixpkgs/pkgs/by-name/pk/pkarr/package.nix
2025-07-26 11:39:35 +02:00

27 lines
623 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "pkarr";
version = "2.0.0";
src = fetchFromGitHub {
owner = "pubky";
repo = "pkarr";
rev = "v${version}";
hash = "sha256-zJe/hCdGVqs2TTwxnceGVXt0ZFRheSRYzjSRHytYXks=";
};
cargoHash = "sha256-y20vVO714WPcB2aYzo0LBuJhy224bsHA7O9Dj00ViWE=";
meta = {
description = "Public Key Addressable Resource Records (sovereign TLDs) ";
homepage = "https://github.com/pubky/pkarr";
license = [ lib.licenses.mit ];
maintainers = with lib.maintainers; [ dpc ];
mainProgram = "pkarr-server";
};
}