nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7
8buildPythonPackage (finalAttrs: {
9 pname = "pbar";
10 version = "2.2.1";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "darvil82";
15 repo = "PBar";
16 tag = "v${finalAttrs.version}";
17 hash = "sha256-FsEjfusk8isOD52xkjndGQdVC8Vc7N3spLLWQTi3Svc=";
18 };
19
20 build-system = [ setuptools ];
21 pythonImportsCheck = [ "pbar" ];
22
23 meta = {
24 description = "Display customizable progress bars on the terminal easily";
25 license = lib.licenses.mit;
26 homepage = "https://darvil82.github.io/PBar";
27 maintainers = with lib.maintainers; [ sigmanificient ];
28 };
29})