emissary: init at 0.3.0

This commit is contained in:
N4CH72HR3R
2026-01-23 14:23:43 +01:00
committed by Sandro Jäckel
parent 93497c91d9
commit acf5bf6b34
+40
View File
@@ -0,0 +1,40 @@
{
rustPlatform,
fetchFromGitHub,
lib,
pkg-config,
openssl,
fontconfig,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "emissary";
version = "0.3.0";
src = fetchFromGitHub {
owner = "altonen";
repo = "emissary";
tag = "v${finalAttrs.version}";
hash = "sha256-A3Kkod2oQdprswoEY9Z6A5r2PsHMUEwqyDB8ycSEUqQ=";
};
cargoHash = "sha256-alruzRWeLGwfiX/kj7grC7+fgu6i0/T/EJwrF/0VDtw=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
fontconfig
];
__darwinAllowLocalNetworking = true;
meta = {
changelog = "https://github.com/altonen/emissary/releases/tag/${finalAttrs.version}";
description = "Rust implementation of the I2P protocol stack";
homepage = "https://altonen.github.io/emissary/";
license = lib.licenses.mit; # https://github.com/altonen/emissary/blob/master/LICENSE (found an apache2 as well but thats for https://github.com/altonen/emissary/commit/c4a1c849ebfceba892adce53f512f1f099721de2)
mainProgram = "emissary";
maintainers = [ lib.maintainers.N4CH723HR3R ];
};
})