Skip to content

Commit

Permalink
deskflow: 1.17.2 -> 1.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aucub committed Dec 27, 2024
1 parent 9091a7d commit d93e2eb
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions pkgs/by-name/de/deskflow/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -117,9 +119,6 @@ stdenv.mkDerivation rec {
knownVulnerabilities = [
"CVE-2021-42072"
"CVE-2021-42073"
"CVE-2021-42074"
"CVE-2021-42075"
"CVE-2021-42076"
];
};
}

0 comments on commit d93e2eb

Please sign in to comment.