pkarr: init at v2.0.0

This commit is contained in:
Dawid Ciężarkiewicz 2024-10-17 11:18:25 -07:00
parent 73bd402816
commit 9c4158a9b3
No known key found for this signature in database
GPG Key ID: D0E972B6EC3C4E7C

View File

@ -0,0 +1,36 @@
{
lib,
fetchFromGitHub,
darwin,
rustPlatform,
stdenv,
}:
rustPlatform.buildRustPackage rec {
pname = "pkarr";
version = "2.0.0";
src = fetchFromGitHub {
owner = "pubky";
repo = "pkarr";
rev = "v${version}";
hash = "sha256-zJe/hCdGVqs2TTwxnceGVXt0ZFRheSRYzjSRHytYXks=";
};
cargoHash = "sha256-qRHxXlUDIpjhd/XeObnmEnjYk3SoiC56LWJUiut0BwY=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
[
Security
SystemConfiguration
]
);
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";
};
}