mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
30 lines
639 B
Nix
30 lines
639 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pbar";
|
|
version = "2.2.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "darvil82";
|
|
repo = "PBar";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-FsEjfusk8isOD52xkjndGQdVC8Vc7N3spLLWQTi3Svc=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
pythonImportsCheck = [ "pbar" ];
|
|
|
|
meta = with lib; {
|
|
description = "Display customizable progress bars on the terminal easily";
|
|
license = licenses.mit;
|
|
homepage = "https://darvil82.github.io/PBar";
|
|
maintainers = with maintainers; [ sigmanificient ];
|
|
};
|
|
}
|