udiskie: Use python3 (python2 support is deprecated)

This commit is contained in:
adisbladis 2017-12-31 01:50:56 +01:00
parent 0f74917d7d
commit f772b8d298
No known key found for this signature in database
GPG Key ID: ED58F95069B004F5
2 changed files with 10 additions and 5 deletions

View File

@ -1,8 +1,13 @@
{ stdenv, fetchFromGitHub, asciidoc-full, gettext
, gobjectIntrospection, gtk3, hicolor_icon_theme, libnotify, librsvg
, pythonPackages, udisks2, wrapGAppsHook }:
, udisks2, wrapGAppsHook
, buildPythonApplication
, docopt
, pygobject3
, pyyaml
}:
pythonPackages.buildPythonApplication rec {
buildPythonApplication rec {
name = "udiskie-${version}";
version = "1.7.3";
@ -21,8 +26,8 @@ pythonPackages.buildPythonApplication rec {
];
propagatedBuildInputs = [
gettext gobjectIntrospection gtk3 libnotify pythonPackages.docopt
pythonPackages.pygobject3 pythonPackages.pyyaml udisks2
gettext gobjectIntrospection gtk3 libnotify docopt
pygobject3 pyyaml udisks2
];
postBuild = "make -C doc";

View File

@ -16744,7 +16744,7 @@ with pkgs;
udevil = callPackage ../applications/misc/udevil {};
udiskie = callPackage ../applications/misc/udiskie { };
udiskie = python3Packages.callPackage ../applications/misc/udiskie { };
sakura = callPackage ../applications/misc/sakura {
vte = gnome3.vte;