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

View file

@ -8,6 +8,7 @@
, gtk3 , gtk3
, nemo , nemo
, gnome , gnome
, cinnamon-translations
}: }:
let let
@ -33,7 +34,8 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
substituteInPlace src/nemo-fileroller.c \ 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}"; 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 # When you bump this, you should make sure all nemo-extensions
# are actually using this file since we try to deal with tags # are actually using this file since we try to deal with tags
# like nemo-fileroller-5.6.1 according to upstream's wishes. # like nemo-fileroller-5.6.1 according to upstream's wishes.
version = "6.0.0"; version = "6.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "linuxmint"; owner = "linuxmint";
repo = "nemo-extensions"; repo = "nemo-extensions";
rev = version; rev = version;
sha256 = "sha256-M8ImntyfFfSL591UpqZosE7F8ydbpfrBhcLOBtW/sGQ="; sha256 = "sha256-zuE0SO5VJ2kKjK7JgsSf+wJgfyffTHhfICslEoPKK8Q=";
}; };
} }