Muriithi Frederick Muriuki writes: > * gnu/packages/python.scm (python-flake8-polyfill): New variable. > --- > gnu/packages/python.scm | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index b57e9a7..b39d8b1 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -12559,3 +12559,24 @@ faster ones are not available.") > "Python module dedicated to rendering RST (reStructuredText) documents to > ansi-escaped strings suitable for display in a terminal") > (license license:expat))) > + > +(define-public python-flake8-polyfill > + (package > + (name "python-flake8-polyfill") > + (version "1.0.1") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "flake8-polyfill" version)) > + (sha256 > + (base32 > + "02gn2wxvh9vnf7m7dld7ca4l60mg5c370hv3swwppkngwaqmcw67")))) > + (build-system python-build-system) > + (inputs > + `(("python-flake8" ,python-flake8))) This should be either a native-input (e.g. if necessary for tests), or propagated-input (if it's imported at runtime). > + (home-page "https://gitlab.com/pycqa/flake8") I believe this should be https://gitlab.com/pycqa/flake8-polyfill Otherwise LGTM! > + (synopsis "Polyfill package for Flake8 plugins") > + (description > + "This package that provides some compatibility helpers for Flake8 plugins that > + intend to support Flake8 2.x and 3.x simultaneously") > + (license license:expat))) > -- > 2.1.4