alpaca: 8.2.2 -> 8.3.1 (#460830)

This commit is contained in:
Pol Dellaiera
2025-11-13 05:24:23 +00:00
committed by GitHub

View File

@@ -20,6 +20,9 @@
libportal,
webkitgtk_6_0,
pipewire,
glib-networking,
bash,
fetchpatch,
}:
let
@@ -31,16 +34,29 @@ let
in
pythonPackages.buildPythonApplication rec {
pname = "alpaca";
version = "8.2.2";
version = "8.3.1";
pyproject = false; # Built with meson
src = fetchFromGitHub {
owner = "Jeffser";
repo = "Alpaca";
tag = version;
hash = "sha256-i1qNLV+oKkZlS/v8jfJJc67lJBuW6j2Uz93vb1StD6g=";
hash = "sha256-X3kITzZBcpN3kYDiT2PTu9UvuWQ/XSq3tVYYMa1btnY=";
};
# TODO: remove in the next release
patches = [
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/Jeffser/Alpaca/pull/1043.patch";
hash = "sha256-y0NiT0FvyB/fKvi+5E0hSzDs1Ds2ydqRO1My83bnmYY=";
})
];
postPatch = ''
substituteInPlace src/widgets/activities/terminal.py \
--replace-fail "['bash', '-c', ';\n'.join(self.prepare_script())]," "['${bash}/bin/bash', '-c', ';\n'.join(self.prepare_script())],"
'';
nativeBuildInputs = [
appstream
meson
@@ -60,6 +76,7 @@ pythonPackages.buildPythonApplication rec {
libportal
webkitgtk_6_0
pipewire # pipewiresrc
glib-networking
];
dependencies =