nixpkgs/pkgs/development/python-modules/progress/default.nix
2021-08-18 21:42:59 +00:00

26 lines
523 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
version = "1.6";
pname = "progress";
src = fetchPypi {
inherit pname version;
sha256 = "c9c86e98b5c03fa1fe11e3b67c1feda4788b8d0fe7336c2ff7d5644ccfba34cd";
};
checkPhase = ''
${python.interpreter} test_progress.py
'';
meta = with lib; {
homepage = "https://github.com/verigak/progress/";
description = "Easy to use progress bars";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}