diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/ansi2html/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/ansi2html/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/ansi2html/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/ansi2html/default.nix index eda67e260454..76775acb1632 100644 --- a/infra/libkookie/nixpkgs/pkgs/development/python-modules/ansi2html/default.nix +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/ansi2html/default.nix @@ -1,17 +1,21 @@ -{ lib, buildPythonPackage, fetchPypi, isPy3k, six, mock, nose, setuptools }: +{ lib, buildPythonPackage, fetchPypi, isPy3k, six, mock, pytestCheckHook, setuptools, setuptools_scm, toml }: buildPythonPackage rec { pname = "ansi2html"; - version = "1.5.2"; + version = "1.6.0"; src = fetchPypi { inherit pname version; - sha256 = "1a9vihsvd03hb0a4dbiklyy686adp9q2ipl79mkxmdr6gfp8bbln"; + sha256 = "0f124ea7efcf3f24f1f9398e527e688c9ae6eab26b0b84e1299ef7f94d92c596"; }; + nativeBuildInputs = [ setuptools_scm toml ]; propagatedBuildInputs = [ six setuptools ]; - checkInputs = [ mock nose ]; + preCheck = "export PATH=$PATH:$out/bin"; + checkInputs = [ mock pytestCheckHook ]; + + pythonImportsCheck = [ "ansi2html" ]; meta = with lib; { description = "Convert text with ANSI color codes to HTML"; |