about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pbar/default.nix
blob: 3ae769d74e82470847198573bef0e78291a8ba6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  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 ];
  };
}