cinnamon.nemo-extensions: 6.0.0 -> 6.0.1

https://github.com/linuxmint/nemo-extensions/compare/6.0.0...6.0.1
This commit is contained in:
Bobby Rong 2023-12-17 21:48:54 +08:00
parent be46e5c0f2
commit 8d578326db
No known key found for this signature in database
3 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,7 @@
{ python3
, lib
, fetchFromGitHub
, cinnamon-translations
}:
let
@ -17,6 +18,9 @@ python3.pkgs.buildPythonApplication rec {
postPatch = ''
substituteInPlace setup.py \
--replace "/usr/share" "share"
substituteInPlace nemo-extension/nemo-emblems.py \
--replace "/usr/share/locale" "${cinnamon-translations}/share/locale"
'';
meta = with lib; {

View File

@ -8,6 +8,7 @@
, gtk3
, nemo
, gnome
, cinnamon-translations
}:
let
@ -33,7 +34,8 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace src/nemo-fileroller.c \
--replace "file-roller" "${lib.getExe gnome.file-roller}"
--replace "file-roller" "${lib.getExe gnome.file-roller}" \
--replace "GNOMELOCALEDIR" "${cinnamon-translations}/share/locale"
'';
PKG_CONFIG_LIBNEMO_EXTENSION_EXTENSIONDIR = "${placeholder "out"}/${nemo.extensiondir}";

View File

@ -4,12 +4,12 @@ rec {
# When you bump this, you should make sure all nemo-extensions
# are actually using this file since we try to deal with tags
# like nemo-fileroller-5.6.1 according to upstream's wishes.
version = "6.0.0";
version = "6.0.1";
src = fetchFromGitHub {
owner = "linuxmint";
repo = "nemo-extensions";
rev = version;
sha256 = "sha256-M8ImntyfFfSL591UpqZosE7F8ydbpfrBhcLOBtW/sGQ=";
sha256 = "sha256-zuE0SO5VJ2kKjK7JgsSf+wJgfyffTHhfICslEoPKK8Q=";
};
}