lol

bleachbit: use gtk3

bleachbit is aiming to support python3 around January of 2020 [0].

[0]: https://github.com/bleachbit/bleachbit/issues/163

+36 -7
+36 -7
pkgs/applications/misc/bleachbit/default.nix
··· 1 - { stdenv, pythonPackages, fetchurl, gettext }: 1 + { stdenv 2 + , pythonPackages 3 + , fetchurl 4 + , gettext 5 + , gobject-introspection 6 + , wrapGAppsHook 7 + , glib 8 + , gtk3 9 + , libnotify 10 + }: 11 + 2 12 pythonPackages.buildPythonApplication rec { 3 13 pname = "bleachbit"; 4 14 version = "3.0"; ··· 10 20 sha256 = "18ns9hms671b4l0189m1m2agprkydnpvyky9q2f5hxf35i9cn67d"; 11 21 }; 12 22 13 - nativeBuildInputs = [ gettext ]; 23 + nativeBuildInputs = [ 24 + gettext 25 + gobject-introspection 26 + wrapGAppsHook 27 + ]; 28 + 29 + buildInputs = [ 30 + glib 31 + gtk3 32 + libnotify 33 + ]; 34 + 35 + propagatedBuildInputs = with pythonPackages; [ 36 + chardet 37 + pygobject3 38 + requests 39 + scandir 40 + ]; 14 41 15 42 # Patch the many hardcoded uses of /usr/share/ and /usr/bin 16 43 postPatch = '' ··· 20 47 21 48 dontBuild = true; 22 49 23 - installFlags = [ "prefix=${placeholder "out"}" ]; 50 + installFlags = [ 51 + "prefix=${placeholder "out"}" 52 + ]; 24 53 25 - propagatedBuildInputs = with pythonPackages; [ pygtk ]; 54 + strictDeps = false; 26 55 27 - meta = { 56 + meta = with stdenv.lib; { 28 57 homepage = http://bleachbit.sourceforge.net; 29 58 description = "A program to clean your computer"; 30 59 longDescription = "BleachBit helps you easily clean your computer to free space and maintain privacy."; 31 - license = stdenv.lib.licenses.gpl3; 32 - maintainers = with stdenv.lib.maintainers; [ leonardoce ]; 60 + license = licenses.gpl3; 61 + maintainers = with maintainers; [ leonardoce ]; 33 62 }; 34 63 }