@@ -0,0 +1,29 @@
1+{ lib
2+, buildPythonApplication
3+, fetchPypi
4+, ffmpeg
5+, tqdm
6+}:
7+
8+buildPythonApplication rec {
9+ pname = "ffmpeg-normalize";
10+ version = "1.15.7";
11+
12+ src = fetchPypi {
13+ inherit pname version;
14+ sha256 = "0161939f864e973b11d50170c657baf3e1433147f46c74a74ed5025a822e9a2d";
15+ };
16+
17+ propagatedBuildInputs = [ ffmpeg tqdm ];
18+
19+ checkPhase = ''
20+ $out/bin/ffmpeg-normalize --help > /dev/null
21+ '';
22+
23+ meta = with lib; {
24+ description = "Normalize audio via ffmpeg";
25+ homepage = "https://github.com/slhck/ffmpeg-normalize";
26+ license = with licenses; [ mit ];
27+ maintainers = with maintainers; [ prusnak ];
28+ };
29+}