oniux: init at 0.4.0

This commit is contained in:
Philipp Bartsch
2025-05-15 23:46:31 +02:00
parent 2ab626d0ea
commit 178ea53f40
+35
View File
@@ -0,0 +1,35 @@
{
lib,
rustPlatform,
fetchFromGitLab,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "oniux";
version = "0.4.0";
src = fetchFromGitLab {
domain = "gitlab.torproject.org";
owner = "tpo/core";
repo = "oniux";
tag = "v${finalAttrs.version}";
hash = "sha256-wWB/ch8DB2tO4+NuNDaGv8K4AbV5/MbyY01oRGai86A=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-tUOxs9bTcXS3Gq6cHYe+eAGAEYSRvf3JVGugBImbvJM=";
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://gitlab.torproject.org/tpo/core/oniux";
description = "Isolate Applications over Tor using Linux Namespaces";
maintainers = with lib.maintainers; [ tnias ];
platforms = lib.platforms.linux;
license = with lib.licenses; [
asl20
mit
];
mainProgram = "oniux";
};
})