nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3Packages,
4 fetchPypi,
5}:
6
7python3Packages.buildPythonApplication rec {
8 pname = "ffpb";
9 version = "0.4.1";
10 pyproject = true;
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "7eVqbLpMHS1sBw2vYS4cTtyVdnnknGtEI8190VlXflk=";
15 };
16
17 build-system = [ python3Packages.setuptools ];
18
19 dependencies = [ python3Packages.tqdm ];
20
21 # tests require working internet connection
22 doCheck = false;
23
24 meta = {
25 description = "FFmpeg progress formatter to display a nice progress bar and an adaptative ETA timer";
26 homepage = "https://github.com/althonos/ffpb";
27 changelog = "https://github.com/althonos/ffpb/blob/master/CHANGELOG.md";
28 license = lib.licenses.mit;
29 maintainers = with lib.maintainers; [ CaptainJawZ ];
30 mainProgram = "ffpb";
31 };
32}