Skip to content

Commit

Permalink
udiskie: Use python3 (python2 support is deprecated)
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Dec 31, 2017
1 parent 0f74917 commit f772b8d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions pkgs/applications/misc/udiskie/default.nix
@@ -1,8 +1,13 @@
{ stdenv, fetchFromGitHub, asciidoc-full, gettext
, gobjectIntrospection, gtk3, hicolor_icon_theme, libnotify, librsvg
, pythonPackages, udisks2, wrapGAppsHook }:

pythonPackages.buildPythonApplication rec {
, udisks2, wrapGAppsHook
, buildPythonApplication
, docopt
, pygobject3
, pyyaml
}:

buildPythonApplication rec {
name = "udiskie-${version}";
version = "1.7.3";

Expand All @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -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;
Expand Down

0 comments on commit f772b8d

Please sign in to comment.