Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
872 B
Nix
40 lines
872 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitLab,
|
|
perl,
|
|
nix-update-script,
|
|
}:
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "oniux";
|
|
version = "0.6.1";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.torproject.org";
|
|
owner = "tpo/core";
|
|
repo = "oniux";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-icrNKF9cGPBZPbaGCj2c8OtdP6A14whPoP39zhs4wlo=";
|
|
};
|
|
|
|
cargoHash = "sha256-juWtf0aX70xJTx9KpXOATyXARhk7aTaveUFN0OPKrbs=";
|
|
|
|
nativeBuildInputs = [
|
|
perl
|
|
];
|
|
|
|
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";
|
|
};
|
|
})
|