nixpkgs/pkgs/development/python-modules/progressbar2/default.nix
Manuel Bärenz bad4b37c7e Remove turion (myself) as maintainer from some packages
I have removed myself as maintainer from those packages that:

* Have at least one other maintainer
* Are outside of my actual expertise,
  i.e. I wouldn't really know how to fix them if they broke
2023-08-17 17:20:18 +02:00

46 lines
783 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, freezegun
, pytestCheckHook
, python-utils
, pythonOlder
}:
buildPythonPackage rec {
pname = "progressbar2";
version = "4.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-E5OSL8tkWYlErUV1afvrSzrBie9Qta25zvMoTofjlM4=";
};
postPatch = ''
sed -i "/-cov/d" pytest.ini
'';
propagatedBuildInputs = [
python-utils
];
nativeCheckInputs = [
freezegun
pytestCheckHook
];
pythonImportsCheck = [
"progressbar"
];
meta = with lib; {
description = "Text progressbar library";
homepage = "https://progressbar-2.readthedocs.io/";
license = licenses.bsd3;
maintainers = with maintainers; [ ashgillman ];
};
}