mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 06:01:19 +00:00
pkarr: init at v2.0.0
This commit is contained in:
parent
73bd402816
commit
9c4158a9b3
36
pkgs/by-name/pk/pkarr/package.nix
Normal file
36
pkgs/by-name/pk/pkarr/package.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user