cantoolz: fix python3.10 support
This commit is contained in:
parent
c146fde7a0
commit
852ef21b34
|
@ -16,6 +16,11 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
# Import Iterable from collections.abc
|
||||||
|
url = "https://github.com/CANToolz/CANToolz/commit/9e818946716a744b3c7356f248e24ea650791d1f.patch";
|
||||||
|
hash = "sha256-BTQ0Io2RF8WpWlLoYfBj8IhL92FRR8ustGClt28/R8c=";
|
||||||
|
})
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
# Replace time.clock() which was removed, https://github.com/CANToolz/CANToolz/pull/30
|
# Replace time.clock() which was removed, https://github.com/CANToolz/CANToolz/pull/30
|
||||||
url = "https://github.com/CANToolz/CANToolz/pull/30/commits/d75574523d3b273c40fb714532c4de27f9e6dd3e.patch";
|
url = "https://github.com/CANToolz/CANToolz/pull/30/commits/d75574523d3b273c40fb714532c4de27f9e6dd3e.patch";
|
||||||
|
|
Loading…
Reference in a new issue