Unverified Commit 9b64ebbe authored by Jan Tojnar's avatar Jan Tojnar
Browse files

onioncircuits: Switch to Python 3

PyGObject no longer supports Python 2.
parent 06fc5385
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
{ 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";

@@ -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" \