diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-07-20 22:04:00 -0400 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-07-20 22:16:36 -0400 |
commit | aa4e92c5e211badee4b687fd6ae58b13a73eb51f (patch) | |
tree | 2d080eb02811eed60899cb4b145f5a7533b80188 /pkgs/development/python-modules/enlighten | |
parent | 8ba95cee9fc6db436c69721094f037ba4acc5e21 (diff) |
pythonPackages.enlighten: init at 1.10.1
Diffstat (limited to 'pkgs/development/python-modules/enlighten')
-rw-r--r-- | pkgs/development/python-modules/enlighten/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/enlighten/default.nix b/pkgs/development/python-modules/enlighten/default.nix new file mode 100644 index 0000000000000..8f58720bd264a --- /dev/null +++ b/pkgs/development/python-modules/enlighten/default.nix @@ -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 ]; + }; +} |