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 (cherry picked from commit c0b46c6b596dd25f32733ff01156d3d769640ab5)
This commit is contained in:
parent
e421291bdd
commit
962a2f26a0
@ -7,11 +7,11 @@
|
|||||||
}:
|
}:
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "salt";
|
pname = "salt";
|
||||||
version = "3003";
|
version = "3003.1";
|
||||||
|
|
||||||
src = python3.pkgs.fetchPypi {
|
src = python3.pkgs.fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "xGiXM9/nOM8ofjHLP908uNFgYpUgKxjY5m1I03LVync=";
|
sha256 = "inGE095NFydhjw0/u6eeVDia7/hbcvTOuCALzBZ/br4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
@ -31,6 +31,8 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace "salt/utils/rsax931.py" \
|
substituteInPlace "salt/utils/rsax931.py" \
|
||||||
--subst-var-by "libcrypto" "${openssl.out}/lib/libcrypto.so"
|
--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;
|
# The tests fail due to socket path length limits at the very least;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user