bulky: 3.9 -> 4.0 (#463340)

This commit is contained in:
Bobby Rong
2025-11-20 12:04:16 +00:00
committed by GitHub
+13 -6
View File
@@ -10,17 +10,18 @@
gtk3,
glib,
common-licenses,
xapp-symbolic-icons,
}:
stdenv.mkDerivation rec {
pname = "bulky";
version = "3.9";
version = "4.0";
src = fetchFromGitHub {
owner = "linuxmint";
repo = "bulky";
tag = version;
hash = "sha256-LrArLx0AOEaeAvLBVhV9ho5H+qeiaBfjs8+iV5W9u+w=";
hash = "sha256-BHMCtvnz3Ua4pa3Pnh2PbxZ9a0vJOJ+Se2/DaPbUqQA=";
};
nativeBuildInputs = [
@@ -45,10 +46,10 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace usr/lib/bulky/bulky.py \
--replace "/usr/share/locale" "$out/share/locale" \
--replace /usr/share/bulky "$out/share/bulky" \
--replace /usr/share/common-licenses "${common-licenses}/share/common-licenses" \
--replace __DEB_VERSION__ "${version}"
--replace-fail "/usr/share/locale" "$out/share/locale" \
--replace-fail /usr/share/bulky "$out/share/bulky" \
--replace-fail /usr/share/common-licenses "${common-licenses}/share/common-licenses" \
--replace-fail __DEB_VERSION__ "${version}"
'';
installPhase = ''
@@ -63,6 +64,12 @@ stdenv.mkDerivation rec {
glib-compile-schemas $out/share/glib-2.0/schemas
'';
preFixup = ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : ${lib.makeSearchPath "share" [ xapp-symbolic-icons ]}
)
'';
meta = with lib; {
description = "Bulk rename app";
mainProgram = "bulky";