Merge pull request #305012 from pbsds/fix-consonance-1713429691
python312Packages.{consonance,yowsup}: unbreak
This commit is contained in:
commit
48dcfa145f
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, dissononce
|
||||
, python-axolotl-curve25519
|
||||
, transitions
|
||||
|
@ -23,6 +24,15 @@ buildPythonPackage rec {
|
|||
hash = "sha256-BhgxLxjKZ4dSL7DqkaoS+wBPCd1SYZomRKrtDLdGmYQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/tgalal/consonance/pull/9
|
||||
(fetchpatch {
|
||||
name = "fix-type-error.patch";
|
||||
url = "https://github.com/tgalal/consonance/pull/9/commits/92fb78af98a18f0533ec8a286136968174fb0baf.patch";
|
||||
hash = "sha256-wVUGxZ4W2zPyrcQPQTc85LcRUtsLbTBVzS10NEolpQY=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dissononce
|
||||
python-axolotl-curve25519
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, isPy3k
|
||||
, fetchFromGitHub
|
||||
, appdirs
|
||||
|
@ -7,6 +8,7 @@
|
|||
, protobuf
|
||||
, python-axolotl
|
||||
, six
|
||||
, pyasyncore
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
|
@ -42,6 +44,9 @@ buildPythonPackage rec {
|
|||
protobuf
|
||||
python-axolotl
|
||||
six
|
||||
]
|
||||
++ lib.optionals (!pythonOlder "3.12") [
|
||||
pyasyncore
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in New Issue