diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2022-08-12 02:05:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-12 02:05:34 +0200 |
commit | 1493e8b0b4f96b9e5a81c1d27e1b6fd985c682c7 (patch) | |
tree | 9d6c3a093343d74675b2bba44e130e17ba6b3fb1 | |
parent | 4957755660e49e392b5da64ce04ab5e61865f2ee (diff) | |
parent | d3462c92f9e8bd09c03ed9620bcfb2ccef62ee3b (diff) |
Merge pull request #186198 from dotlambda/ris-mistune-0.8.4-known-vulnerabilities
-rw-r--r-- | pkgs/development/python-modules/automat/default.nix | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/automat/default.nix b/pkgs/development/python-modules/automat/default.nix index bb7525d8859a..094015e56f5e 100644 --- a/pkgs/development/python-modules/automat/default.nix +++ b/pkgs/development/python-modules/automat/default.nix @@ -1,8 +1,8 @@ { lib , buildPythonPackage , fetchPypi +, fetchpatch , attrs -, m2r , pytest-benchmark , pytestCheckHook , setuptools-scm @@ -19,8 +19,17 @@ let automat = buildPythonPackage rec { sha256 = "7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33"; }; + patches = [ + # don't depend on m2r + (fetchpatch { + name = "dont-depend-on-m2r.patch"; + url = "https://github.com/glyph/automat/compare/v20.2.0..2562fa4ddeba5b5945d9482baa4c26a414f5e831.patch"; + includes = [ "setup.py" ]; + hash = "sha256-jlPLJMu1QbBpiVYHDiqPydrXjEoZgYZTVVGNxSA0NxY="; + }) + ]; + nativeBuildInputs = [ - m2r setuptools-scm ]; |