Skip to content

Commit

Permalink
python312Packages.blessings: nose -> disabled tests
Browse files Browse the repository at this point in the history
See upstream PR NixOS#165 for details
  • Loading branch information
pyrox0 committed Jul 13, 2024
1 parent 0e17d68 commit 2275343
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions pkgs/development/python-modules/blessings/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,33 @@
buildPythonPackage,
fetchPypi,
six,
nose,
setuptools,
}:

buildPythonPackage rec {
pname = "blessings";
version = "1.7";
format = "setuptools";
pyproject = true;

src = fetchPypi {
inherit pname version;
sha256 = "98e5854d805f50a5b58ac2333411b0482516a8210f23f43308baeb58d77c157d";
hash = "sha256-mOWFTYBfUKW1isIzNBGwSCUWqCEPI/QzCLrrWNd8FX0=";
};

# 4 failing tests, 2to3
doCheck = false;
build-system = [ setuptools ];

dependencies = [ six ];

propagatedBuildInputs = [ six ];
nativeCheckInputs = [ nose ];
# Running tests produces a failure that's not able to be patched easily.
# See PR #165 in the repo for the package for more information.
doCheck = false;

checkPhase = ''
nosetests
'';
pythonImportsCheck = [ "blessings" ];

meta = with lib; {
meta = {
homepage = "https://github.com/erikrose/blessings";
description = "Thin, practical wrapper around terminal coloring, styling, and positioning";
license = licenses.mit;
maintainers = with maintainers; [ domenkozar ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ domenkozar ];
};
}

0 comments on commit 2275343

Please sign in to comment.