devtoolbox: 1.2 -> 1.2.1 (#359079)
This commit is contained in:
commit
f32410348d
@ -14,19 +14,27 @@
|
||||
webkitgtk_6_0,
|
||||
gcr_4,
|
||||
gdk-pixbuf,
|
||||
autoPatchelfHook,
|
||||
appstream,
|
||||
libxml2,
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "devtoolbox";
|
||||
version = "1.2";
|
||||
version = "1.2.1";
|
||||
pyproject = false; # uses meson
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aleiepure";
|
||||
repo = "devtoolbox";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-tSH7H2Y/+8EpuM4+Fa0iL/pSJSVtFDXlO2w/xwpzps0=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-yeOX2ASQWpo3TN9ou25voOVD3pSK4SE0CDXHkrwu+E4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/views/reverse_cron.py \
|
||||
--replace-fail '"\D"' 'r"\D"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
@ -35,6 +43,9 @@ python3Packages.buildPythonApplication rec {
|
||||
blueprint-compiler
|
||||
wrapGAppsHook4
|
||||
desktop-file-utils
|
||||
autoPatchelfHook
|
||||
appstream
|
||||
libxml2
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@ -76,6 +87,8 @@ python3Packages.buildPythonApplication rec {
|
||||
# Contains an unusable devtoolbox-run-script
|
||||
postInstall = ''
|
||||
rm -r $out/devtoolbox
|
||||
ln -s $out/share/locale/zh_Hant $out/share/locale/zh_TW
|
||||
ln -s $out/share/locale/zh_Hans $out/share/locale/zh_CN
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
|
Loading…
Reference in New Issue
Block a user