aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/ansi2html/default.nix
diff options
context:
space:
mode:
authorMx Kookie <kookie@spacekookie.de>2020-12-09 18:55:19 +0000
committerMx Kookie <kookie@spacekookie.de>2020-12-09 18:55:19 +0000
commit80d90d9b204f7c17912740f9f414fe5d59f293ba (patch)
tree5f2065a06e724270610760d59d01c6888b375a46 /infra/libkookie/nixpkgs/pkgs/development/python-modules/ansi2html/default.nix
parent3a31a84c7d3e589035ad08499206aac44a81f424 (diff)
parent83cbad92d73216bb0d9187c56cce0b91f9121d5a (diff)
Merge commit '83cbad92d73216bb0d9187c56cce0b91f9121d5a' into main
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.nix12
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";