cantoolz: fix python3.10 support

main
Martin Weinelt 2 years ago committed by Jonathan Ringer
parent c146fde7a0
commit 852ef21b34
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0
  1. 5
      pkgs/tools/networking/cantoolz/default.nix

@ -16,6 +16,11 @@ python3.pkgs.buildPythonApplication rec {
};
patches = [
(fetchpatch {
# Import Iterable from collections.abc
url = "https://github.com/CANToolz/CANToolz/commit/9e818946716a744b3c7356f248e24ea650791d1f.patch";
hash = "sha256-BTQ0Io2RF8WpWlLoYfBj8IhL92FRR8ustGClt28/R8c=";
})
(fetchpatch {
# Replace time.clock() which was removed, https://github.com/CANToolz/CANToolz/pull/30
url = "https://github.com/CANToolz/CANToolz/pull/30/commits/d75574523d3b273c40fb714532c4de27f9e6dd3e.patch";

Loading…
Cancel
Save