From 215c54c310f50a7697f44c3c38ecec49e23d43b7 Mon Sep 17 00:00:00 2001 From: Mate Kovacs Date: Sat, 5 Mar 2016 23:24:21 -0800 Subject: [PATCH] pythonPackages.av: init at 0.2.4 --- pkgs/top-level/python-packages.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ade98083aa38..2f5daced11e2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1119,6 +1119,29 @@ in modules // { }; }); + av = buildPythonPackage rec { + name = "av-${version}"; + version = "0.2.4"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/a/av/${name}.tar.gz"; + sha256 = "bdc7e2e213cb9041d9c5c0497e6f8c47e84f89f1f2673a46d891cca0fb0d19a0"; + }; + + buildInputs + = (with self; [ nose pillow numpy ]) + ++ (with pkgs; [ ffmpeg git libav pkgconfig ]); + + # Because of https://github.com/mikeboers/PyAV/issues/152 + doCheck = false; + + meta = { + description = "Pythonic bindings for FFmpeg/Libav"; + homepage = https://github.com/mikeboers/PyAV/; + license = licenses.bsd2; + }; + }; + avro = buildPythonPackage (rec { name = "avro-1.7.6";