Files
nixpkgs/pkgs/development/python-modules/progress/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

28 lines
527 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
version = "1.6";
format = "setuptools";
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 = [ ];
};
}