nixpkgs/pkgs/development/python-modules/pyprind/default.nix
Ihar Hrachyshka 567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
616 B
Nix

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