1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

python3Packages.markdown-it-py: relax attrs contraint

This commit is contained in:
Martin Weinelt 2021-06-20 20:37:51 +02:00
parent 492969e370
commit e83feaecff

View file

@ -1,4 +1,9 @@
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytestCheckHook
, pythonOlder
, attrs
, linkify-it-py
, psutil
@ -21,6 +26,15 @@ buildPythonPackage rec {
hash = "sha256-GA7P2I8N+i2ISsVgx58zyhrfKMcZ7pL4X9T/trbsr1Y=";
};
patches = [
(fetchpatch {
# :arrow_up: UPGRADE: attrs -> v21 (#165)
# https://github.com/executablebooks/markdown-it-py/pull/165
url = "https://github.com/executablebooks/markdown-it-py/commit/78381ffe1a651741594dc93e693b761422512fa2.patch";
sha256 = "1kxhblpi4sycrs3rv50achr8g0wlgq33abg2acra26l736hlsya1";
})
];
propagatedBuildInputs = [ attrs linkify-it-py ]
++ lib.optional (pythonOlder "3.8") typing-extensions;