depot/third_party/nixpkgs/pkgs/development/python-modules/pyprind/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

28 lines
594 B
Nix

{ lib, fetchPypi, buildPythonPackage
, psutil
, pytest }:
buildPythonPackage rec {
pname = "PyPrind";
version = "2.11.3";
src = fetchPypi {
inherit pname version;
sha256 = "e37dcab6e1a9c8e0a7f0fce65fde7a79e2deda1c75aa015910a49e2137b54cbf";
};
buildInputs = [ psutil ];
checkInputs = [ 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 ];
};
}