summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pbar/default.nix
blob: 4cb1afe1c36900ec14143b966de8c0ac100b329c (plain)
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 (finalAttrs: {
  pname = "pbar";
  version = "2.2.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "darvil82";
    repo = "PBar";
    tag = "v${finalAttrs.version}";
    hash = "sha256-FsEjfusk8isOD52xkjndGQdVC8Vc7N3spLLWQTi3Svc=";
  };

  build-system = [ setuptools ];
  pythonImportsCheck = [ "pbar" ];

  meta = {
    description = "Display customizable progress bars on the terminal easily";
    license = lib.licenses.mit;
    homepage = "https://darvil82.github.io/PBar";
    maintainers = with lib.maintainers; [ sigmanificient ];
  };
})