depot/third_party/nixpkgs/pkgs/development/python-modules/ha-ffmpeg/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
653 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, ffmpeg, async-timeout }:
buildPythonPackage rec {
pname = "ha-ffmpeg";
version = "2.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "230f2fa990c9caaff1c67c2227b64756062248083849651a9bec7d599e519a42";
};
buildInputs = [ ffmpeg ];
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 ];
};
}