Skip to content

Commit

Permalink
onioncircuits: Switch to Python 3
Browse files Browse the repository at this point in the history
PyGObject no longer supports Python 2.
  • Loading branch information
jtojnar committed Oct 23, 2020
1 parent 06fc538 commit 9b64ebb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/tools/security/onioncircuits/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, fetchgit, pythonPackages, intltool, gtk3, gobject-introspection, gnome3 }:
{ stdenv, fetchgit, python3, intltool, gtk3, gobject-introspection, gnome3 }:

pythonPackages.buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "onioncircuits";
version = "0.5";

Expand All @@ -12,7 +12,7 @@ pythonPackages.buildPythonApplication rec {

nativeBuildInputs = [ intltool ];
buildInputs = [ intltool gtk3 gobject-introspection ];
propagatedBuildInputs = with pythonPackages; [ stem distutils_extra pygobject3 ];
propagatedBuildInputs = with python3.pkgs; [ stem distutils_extra pygobject3 ];

postFixup = ''
wrapProgram "$out/bin/onioncircuits" \
Expand Down

0 comments on commit 9b64ebb

Please sign in to comment.