mirror of
https://gitlab.com/keys.openpgp.org/hagrid.git
synced 2025-10-05 16:12:44 +02:00
37 lines
716 B
Nix
37 lines
716 B
Nix
{ lib, rustPlatform, sqlite, openssl, gettext, pkg-config }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "hagrid";
|
|
version = "1.0.0";
|
|
|
|
src = ./.;
|
|
cargoLock = {
|
|
lockFile = ./Cargo.lock;
|
|
outputHashes = {
|
|
"rocket_i18n-0.5.0" = "sha256-EbUE8Z3TQBnDnptl9qWK6JvsACCgP7EXTxcA7pouYbc=";
|
|
};
|
|
};
|
|
|
|
postInstall = ''
|
|
cp -r dist $out
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
gettext
|
|
];
|
|
|
|
buildInputs = [
|
|
sqlite
|
|
openssl
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A verifying keyserver";
|
|
homepage = "https://gitlab.com/keys.openpgp.org/hagrid";
|
|
license = with licenses; [ gpl3 ];
|
|
maintainers = with maintainers; [ valodim ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|