Merge pull request #167987 from oxzi/weechat-otr-fix-build-and-deprecation

weechat-otr: Fix build and knownVulnerabilities
This commit is contained in:
Artturi 2022-05-05 20:24:55 +03:00 committed by GitHub
commit b0b8435c37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,9 @@ let
buildInputs = [ gmp ]; buildInputs = [ gmp ];
# Tests are relying on old Python 2 modules.
doCheck = false;
preConfigure = '' preConfigure = ''
sed -i 's,/usr/include,/no-such-dir,' configure sed -i 's,/usr/include,/no-such-dir,' configure
sed -i "s!,'/usr/include/'!!" setup.py sed -i "s!,'/usr/include/'!!" setup.py
@ -66,5 +69,9 @@ in stdenv.mkDerivation rec {
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ oxzi ]; maintainers = with maintainers; [ oxzi ];
description = "WeeChat script for Off-the-Record messaging"; description = "WeeChat script for Off-the-Record messaging";
knownVulnerabilities = [
"There is no upstream release since 2018-03."
"Utilizes deprecated and vulnerable pycrypto library with Debian patches from 2020-04."
];
}; };
} }