Merge pull request #85181 from filalex77/ulauncher-5.7.3

ulauncher: 5.6.1 -> 5.7.3
This commit is contained in:
worldofpeace 2020-04-13 18:00:19 -04:00 committed by GitHub
commit a5182a7502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 17 deletions

View File

@ -17,18 +17,18 @@
, librsvg
}:
python3Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "ulauncher";
version = "5.6.1";
version = "5.7.3";
disabled = python3Packages.isPy27;
src = fetchurl {
url = "https://github.com/Ulauncher/Ulauncher/releases/download/${version}/ulauncher_${version}.tar.gz";
sha256 = "14k68lp58wldldhaq4cf0ffkhi81czv4ps9xa86iw1j5b1gd2vbl";
sha256 = "0wq2zsq3496fjfg89q01dsm7sb7kv92sycvqm6ad8z1z2kpisrbh";
};
nativeBuildInputs = with python3Packages; [
nativeBuildInputs = with python3Packages; [
distutils_extra
intltool
wrapGAppsHook
@ -71,7 +71,6 @@ python3Packages.buildPythonApplication rec {
patches = [
./fix-path.patch
./fix-permissions.patch # ulauncher PR #523
./0001-Adjust-get_data_path-for-NixOS.patch
./fix-extensions.patch
];

View File

@ -1,12 +0,0 @@
diff --git a/ulauncher/utils/Theme.py b/ulauncher/utils/Theme.py
index 9cde624..4e36c4f 100644
--- a/ulauncher/utils/Theme.py
+++ b/ulauncher/utils/Theme.py
@@ -138,6 +138,9 @@ class Theme:
rmtree(new_theme_dir)
copytree(self.path, new_theme_dir)
+ # change file permissions (because Nix store is read-only)
+ os.chmod(new_theme_dir, 0o755)
+
return os.path.join(new_theme_dir, 'generated.css')