pythonPackages.enlighten: init at 1.10.1

This commit is contained in:
Dmitry Kalinkin 2021-07-20 22:04:00 -04:00
parent 8ba95cee9f
commit aa4e92c5e2
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, blessed
, prefixed
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "enlighten";
version = "1.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "3391916586364aedced5d6926482b48745e4948f822de096d32258ba238ea984";
};
propagatedBuildInputs = [
blessed
prefixed
];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "enlighten" ];
disabledTests =
# https://github.com/Rockhopper-Technologies/enlighten/issues/44
lib.optional stdenv.isDarwin "test_autorefresh"
;
meta = with lib; {
description = "Enlighten Progress Bar for Python Console Apps";
homepage = "https://github.com/Rockhopper-Technologies/enlighten";
license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ veprbl ];
};
}

View file

@ -2299,6 +2299,8 @@ in {
enamlx = callPackage ../development/python-modules/enamlx { };
enlighten = callPackage ../development/python-modules/enlighten { };
enocean = callPackage ../development/python-modules/enocean { };
enrich = callPackage ../development/python-modules/enrich { };