From 3421de9e6dbef445dc00410ab6c01bcc67494c00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 21 Feb 2021 00:20:23 +0100 Subject: [PATCH] python3Packages.pyroma: don't pin pygments According to setup.py, pin only ensures compatibility with Python 2.7. --- pkgs/development/python-modules/pyroma/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/pyroma/default.nix b/pkgs/development/python-modules/pyroma/default.nix index 599f1475185..9fee5ec56c0 100644 --- a/pkgs/development/python-modules/pyroma/default.nix +++ b/pkgs/development/python-modules/pyroma/default.nix @@ -11,6 +11,11 @@ buildPythonPackage rec { sha256 = "2527423e3a24ccd56951f3ce1b0ebbcc4fa0518c82fca882e696c78726ab9c2f"; }; + postPatch = '' + substituteInPlace setup.py \ + --replace "pygments < 2.6" "pygments" + ''; + propagatedBuildInputs = [ docutils pygments setuptools ]; meta = with lib; {