deskflow: 1.17.2 -> 1.18.0

This commit is contained in:
aucub
2024-12-27 02:46:22 +08:00
parent 9091a7d76e
commit d93e2eb2f0

View File

@@ -32,20 +32,22 @@
}:
stdenv.mkDerivation rec {
pname = "deskflow";
version = "1.17.2";
version = "1.18.0";
src = fetchFromGitHub {
owner = "deskflow";
repo = "deskflow";
rev = "refs/tags/v${version}";
hash = "sha256-CHlvL/MC9clFrMxlfIXaCFoTkcLS7QsYK7MXMFW0188=";
tag = "v${version}";
hash = "sha256-FdpDaJ+pphy2+8prlKst0DjmdbcZOmNp+lKN5xdnvC8=";
};
postPatch = ''
substituteInPlace src/lib/deskflow/unix/AppUtilUnix.cpp \
--replace-fail "/usr/share/X11/xkb/rules/evdev.xml" "${xkeyboard_config}/share/X11/xkb/rules/evdev.xml"
substituteInPlace src/lib/gui/tls/TlsCertificate.cpp \
--replace-fail "\"openssl\"" "\"${lib.getBin openssl}/bin/openssl\""
--replace-fail '"openssl"' '"${lib.getBin openssl}/bin/openssl"'
substituteInPlace deploy/linux/deploy.cmake \
--replace-fail 'message(FATAL_ERROR "Unable to read file /etc/os-release")' 'set(RELEASE_FILE_CONTENTS "")'
'';
nativeBuildInputs = [
@@ -117,9 +119,6 @@ stdenv.mkDerivation rec {
knownVulnerabilities = [
"CVE-2021-42072"
"CVE-2021-42073"
"CVE-2021-42074"
"CVE-2021-42075"
"CVE-2021-42076"
];
};
}