2023-05-09 14:34:17 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitLab
|
|
|
|
, gobject-introspection
|
|
|
|
, intltool
|
|
|
|
, python3
|
2024-04-26 20:24:03 +00:00
|
|
|
, wrapGAppsHook3
|
2023-05-09 14:34:17 +00:00
|
|
|
}:
|
2018-01-16 10:24:09 +00:00
|
|
|
|
2020-10-18 19:56:21 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
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
|
2024-04-26 20:24:03 +00:00
|
|
|
wrapGAppsHook3
|
2023-10-12 01:50:39 +00:00
|
|
|
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
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://tails.boum.org";
|
2018-01-16 10:24:09 +00:00
|
|
|
description = "GTK application to display Tor circuits and streams";
|
2024-03-19 02:14:51 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|
|
|
|
|