Merge pull request #137022 from Flakebi/salt-backport

This commit is contained in:
Martin Weinelt
2021-09-27 00:26:34 +02:00
committed by GitHub

View File

@@ -7,11 +7,11 @@
}:
python3.pkgs.buildPythonApplication rec {
pname = "salt";
version = "3003";
version = "3003.3";
src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "xGiXM9/nOM8ofjHLP908uNFgYpUgKxjY5m1I03LVync=";
sha256 = "pvnIyLXiYA6oYgtKZzcd4XYRvrT42X5LubCzCKN+0eI=";
};
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;