3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ha-ffmpeg/default.nix
Doron Behar 01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00

29 lines
657 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, ffmpeg_3, async-timeout }:
buildPythonPackage rec {
pname = "ha-ffmpeg";
version = "2.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "230f2fa990c9caaff1c67c2227b64756062248083849651a9bec7d599e519a42";
};
buildInputs = [ ffmpeg_3 ];
propagatedBuildInputs = [ async-timeout ];
# only manual tests
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://github.com/pvizeli/ha-ffmpeg";
description = "Library for home-assistant to handle ffmpeg";
license = licenses.bsd3;
maintainers = with maintainers; [ peterhoeg ];
};
}