nixpkgs/pkgs/by-name/on/onioncircuits/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
967 B
Nix
Raw Normal View History

2023-05-09 14:34:17 +00:00
{ stdenv
, lib
, fetchFromGitLab
, gobject-introspection
, intltool
, python3
, wrapGAppsHook3
2023-05-09 14:34:17 +00:00
}:
2018-01-16 10:24:09 +00:00
python3.pkgs.buildPythonApplication rec {
pname = "onioncircuits";
2024-09-21 11:15:00 +00:00
version = "0.8.1";
2018-01-16 10:24:09 +00:00
2023-05-09 14:34:17 +00:00
src = fetchFromGitLab {
domain = "gitlab.tails.boum.org";
owner = "tails";
repo = "onioncircuits";
2018-01-16 10:24:09 +00:00
rev = version;
2024-09-21 11:15:00 +00:00
sha256 = "sha256-5VGOuvngZvUFQ+bubdt4YV3/IflOhBB1i+oEQaV4kr0=";
2018-01-16 10:24:09 +00:00
};
2023-05-09 14:34:17 +00:00
nativeBuildInputs = [
gobject-introspection
intltool
wrapGAppsHook3
python3.pkgs.distutils-extra
2023-05-09 14:34:17 +00:00
];
2018-01-16 10:24:09 +00:00
2023-05-09 14:34:17 +00:00
propagatedBuildInputs = with python3.pkgs; [
pygobject3
stem
];
postInstall = ''
mkdir -p $out/etc/apparmor.d
cp apparmor/usr.bin.onioncircuits $out/etc/apparmor.d
2018-01-16 10:24:09 +00:00
'';
meta = with lib; {
homepage = "https://tails.boum.org";
2018-01-16 10:24:09 +00:00
description = "GTK application to display Tor circuits and streams";
mainProgram = "onioncircuits";
2018-01-16 10:24:09 +00:00
license = licenses.gpl3;
2023-05-09 14:34:17 +00:00
maintainers = with maintainers; [ milran ];
2018-01-16 10:24:09 +00:00
};
}