From 819bfa36c7020ebf92702e7991856942ab496482 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 17 Dec 2020 04:20:00 +0000 Subject: [PATCH] pythonPackages.ansi2html: disable on python 2 --- pkgs/development/python-modules/ansi2html/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/ansi2html/default.nix b/pkgs/development/python-modules/ansi2html/default.nix index 76775acb163..df115cf7c47 100644 --- a/pkgs/development/python-modules/ansi2html/default.nix +++ b/pkgs/development/python-modules/ansi2html/default.nix @@ -4,6 +4,8 @@ buildPythonPackage rec { pname = "ansi2html"; version = "1.6.0"; + disabled = !isPy3k; + src = fetchPypi { inherit pname version; sha256 = "0f124ea7efcf3f24f1f9398e527e688c9ae6eab26b0b84e1299ef7f94d92c596"; @@ -22,6 +24,5 @@ buildPythonPackage rec { homepage = "https://github.com/ralphbean/ansi2html"; license = licenses.lgpl3Plus; maintainers = with maintainers; [ davidtwco ]; - platforms = platforms.all; }; }