2022-06-16 17:23:12 +00:00
|
|
|
{ stdenv, lib, fetchgit, python3, intltool, gtk3, gobject-introspection, gnome }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-12 09:05:59 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "onioncircuits";
|
|
|
|
version = "0.5";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git-tails.immerda.ch/onioncircuits/";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "13mqif9b9iajpkrl9ijspdnvy82kxhprxd5mw3njk68rcn4z2pcm";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ intltool ];
|
2022-10-21 18:38:19 +00:00
|
|
|
buildInputs = [ gtk3 gobject-introspection ];
|
2020-11-12 09:05:59 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [ stem distutils_extra pygobject3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
wrapProgram "$out/bin/onioncircuits" \
|
|
|
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
2021-05-20 23:08:51 +00:00
|
|
|
--prefix XDG_DATA_DIRS : "$out/share:${gnome.adwaita-icon-theme}/share"
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2022-06-16 17:23:12 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://tails.boum.org";
|
|
|
|
description = "GTK application to display Tor circuits and streams";
|
|
|
|
license = licenses.gpl3;
|
2021-12-21 02:18:32 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|