depot/third_party/nixpkgs/pkgs/development/python-modules/pyprind/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

28 lines
600 B
Nix

{ lib, fetchPypi, buildPythonPackage
, psutil
, pytest }:
buildPythonPackage rec {
pname = "PyPrind";
version = "2.11.3";
src = fetchPypi {
inherit pname version;
sha256 = "e37dcab6e1a9c8e0a7f0fce65fde7a79e2deda1c75aa015910a49e2137b54cbf";
};
buildInputs = [ psutil ];
nativeCheckInputs = [ pytest ];
checkPhase = ''
py.test tests
'';
meta = with lib; {
description = "Python Progress Bar and Percent Indicator Utility";
homepage = "https://github.com/rasbt/pyprind";
license = licenses.bsd3;
maintainers = with maintainers; [ jfrankenau ];
};
}