Skip to content

Commit 40007bb

Browse files
authored
deskflow: 1.17.2 -> 1.18.0 (#368382)
2 parents 88195a9 + d93e2eb commit 40007bb

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

pkgs/by-name/de/deskflow/package.nix

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,22 @@
3232
}:
3333
stdenv.mkDerivation rec {
3434
pname = "deskflow";
35-
version = "1.17.2";
35+
version = "1.18.0";
3636

3737
src = fetchFromGitHub {
3838
owner = "deskflow";
3939
repo = "deskflow";
40-
rev = "refs/tags/v${version}";
41-
hash = "sha256-CHlvL/MC9clFrMxlfIXaCFoTkcLS7QsYK7MXMFW0188=";
40+
tag = "v${version}";
41+
hash = "sha256-FdpDaJ+pphy2+8prlKst0DjmdbcZOmNp+lKN5xdnvC8=";
4242
};
4343

4444
postPatch = ''
4545
substituteInPlace src/lib/deskflow/unix/AppUtilUnix.cpp \
4646
--replace-fail "/usr/share/X11/xkb/rules/evdev.xml" "${xkeyboard_config}/share/X11/xkb/rules/evdev.xml"
4747
substituteInPlace src/lib/gui/tls/TlsCertificate.cpp \
48-
--replace-fail "\"openssl\"" "\"${lib.getBin openssl}/bin/openssl\""
48+
--replace-fail '"openssl"' '"${lib.getBin openssl}/bin/openssl"'
49+
substituteInPlace deploy/linux/deploy.cmake \
50+
--replace-fail 'message(FATAL_ERROR "Unable to read file /etc/os-release")' 'set(RELEASE_FILE_CONTENTS "")'
4951
'';
5052

5153
nativeBuildInputs = [
@@ -114,5 +116,9 @@ stdenv.mkDerivation rec {
114116
licenses.openssl
115117
];
116118
platforms = lib.platforms.linux;
119+
knownVulnerabilities = [
120+
"CVE-2021-42072"
121+
"CVE-2021-42073"
122+
];
117123
};
118124
}

0 commit comments

Comments
 (0)