mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
python3Packages.aioimaplib: support Python 3.10
This commit is contained in:
parent
286ac3ea65
commit
24a1360b97
|
@ -5,6 +5,7 @@
|
|||
, buildPythonPackage
|
||||
, docutils
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, imaplib2
|
||||
, mock
|
||||
, nose
|
||||
|
@ -19,9 +20,7 @@ buildPythonPackage rec {
|
|||
version = "0.9.0";
|
||||
format = "setuptools";
|
||||
|
||||
# Check https://github.com/bamthomas/aioimaplib/issues/75
|
||||
# for Python 3.10 support
|
||||
disabled = pythonOlder "3.5" || pythonAtLeast "3.10";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bamthomas";
|
||||
|
@ -30,6 +29,14 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-xxZAeJDuqrPv4kGgDr0ypFuZJk1zcs/bmgeEzI0jpqY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/bamthomas/aioimaplib/pull/76
|
||||
(fetchpatch {
|
||||
url = "https://github.com/bamthomas/aioimaplib/commit/03f796f45b60a163ad0f3d52166d58f280de7065.patch";
|
||||
hash = "sha256-9staxkw/EfGoBz/uyrNKBvQ0KfN+za4rTGRyqrAJSd8=";
|
||||
})
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
asynctest
|
||||
docutils
|
||||
|
|
Loading…
Reference in a new issue