salt: 3003 -> 3003.1

Need to patch out the contextvars dependency (which is included in
python 3.7+).
The same patch is discussed in arch:
https://bugs.archlinux.org/task/71344
This commit is contained in:
Flakebi 2021-06-24 23:54:59 +02:00
parent 538d123459
commit c0b46c6b59
No known key found for this signature in database
GPG key ID: 38E7ED984D7DCD02

View file

@ -7,11 +7,11 @@
}:
python3.pkgs.buildPythonApplication rec {
pname = "salt";
version = "3003";
version = "3003.1";
src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "xGiXM9/nOM8ofjHLP908uNFgYpUgKxjY5m1I03LVync=";
sha256 = "inGE095NFydhjw0/u6eeVDia7/hbcvTOuCALzBZ/br4=";
};
propagatedBuildInputs = with python3.pkgs; [
@ -31,6 +31,8 @@ python3.pkgs.buildPythonApplication rec {
postPatch = ''
substituteInPlace "salt/utils/rsax931.py" \
--subst-var-by "libcrypto" "${openssl.out}/lib/libcrypto.so"
substituteInPlace requirements/base.txt \
--replace contextvars ""
'';
# The tests fail due to socket path length limits at the very least;