Files
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

54 lines
1.0 KiB
Nix

{
stdenv,
lib,
fetchFromGitLab,
gobject-introspection,
intltool,
python3,
wrapGAppsHook3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "onioncircuits";
version = "0.8.2";
pyproject = true;
src = fetchFromGitLab {
domain = "gitlab.tails.boum.org";
owner = "tails";
repo = "onioncircuits";
rev = version;
sha256 = "sha256-hk4pwPTtj4wt58Wn3NbGc5yQt/FJGdcZC9BbNgvaMqY=";
};
nativeBuildInputs = [
gobject-introspection
intltool
wrapGAppsHook3
];
build-system = with python3.pkgs; [
setuptools
distutils-extra
];
dependencies = with python3.pkgs; [
pygobject3
stem
];
postInstall = ''
mkdir -p $out/etc/apparmor.d
cp apparmor/usr.bin.onioncircuits $out/etc/apparmor.d
'';
meta = with lib; {
homepage = "https://tails.boum.org";
description = "GTK application to display Tor circuits and streams";
mainProgram = "onioncircuits";
license = licenses.gpl3;
maintainers = with maintainers; [ wattmto ];
};
}