From cec340f69e3f386a375a3661551d2d13521f06e9 Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Tue, 7 Feb 2017 16:45:08 +0300 Subject: [PATCH] gnu: Add python-flake8-polyfill * gnu/packages/python.scm (python-flake8-polyfill): New variable --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d53eea1..73a467f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12536,3 +12536,28 @@ console.") This implementation is slow (hence the project name) but still useful when faster ones are not available.") (license license:asl2.0))) + +(define-public python-flake8-polyfill + (package + (name "python-flake8-polyfill") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/71/6e/dd7e0f0ddf146213d0cc0b963b3d4c643482" + "3ebe3992c29b523182bbf785/flake8-polyfill-" + version + ".tar.gz")) + (sha256 + (base32 + "02gn2wxvh9vnf7m7dld7ca4l60mg5c370hv3swwppkngwaqmcw67")))) + (build-system python-build-system) + (inputs + `(("python-flake8" ,python-flake8))) + (home-page "https://gitlab.com/pycqa/flake8") + (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