about summary refs log tree commit diff
path: root/pkgs/applications/video/ffmpeg-normalize/default.nix
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2020-03-14 17:54:45 +0100
committerJon <jonringer@users.noreply.github.com>2020-03-14 17:47:59 -0700
commit931dd07712cb19d4e40abe722f98d2c80ef216fe (patch)
treeae8c5a755c02de073b08c60553d0eff4015af3c4 /pkgs/applications/video/ffmpeg-normalize/default.nix
parent12858367563aa42a2198ef610d8f4d7e3d1ac87b (diff)
downloadnixlib-931dd07712cb19d4e40abe722f98d2c80ef216fe.tar
nixlib-931dd07712cb19d4e40abe722f98d2c80ef216fe.tar.gz
nixlib-931dd07712cb19d4e40abe722f98d2c80ef216fe.tar.bz2
nixlib-931dd07712cb19d4e40abe722f98d2c80ef216fe.tar.lz
nixlib-931dd07712cb19d4e40abe722f98d2c80ef216fe.tar.xz
nixlib-931dd07712cb19d4e40abe722f98d2c80ef216fe.tar.zst
nixlib-931dd07712cb19d4e40abe722f98d2c80ef216fe.zip
ffmpeg-normalize: init at 1.15.7
Diffstat (limited to 'pkgs/applications/video/ffmpeg-normalize/default.nix')
-rw-r--r--pkgs/applications/video/ffmpeg-normalize/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/video/ffmpeg-normalize/default.nix b/pkgs/applications/video/ffmpeg-normalize/default.nix
new file mode 100644
index 000000000000..d992e42ebffd
--- /dev/null
+++ b/pkgs/applications/video/ffmpeg-normalize/default.nix
@@ -0,0 +1,29 @@
+{ lib
+, buildPythonApplication
+, fetchPypi
+, ffmpeg
+, tqdm
+}:
+
+buildPythonApplication rec {
+  pname = "ffmpeg-normalize";
+  version = "1.15.7";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0161939f864e973b11d50170c657baf3e1433147f46c74a74ed5025a822e9a2d";
+  };
+
+  propagatedBuildInputs = [ ffmpeg tqdm ];
+
+  checkPhase = ''
+    $out/bin/ffmpeg-normalize --help > /dev/null
+  '';
+
+  meta = with lib; {
+    description = "Normalize audio via ffmpeg";
+    homepage = "https://github.com/slhck/ffmpeg-normalize";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ prusnak ];
+  };
+}