summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ha-ffmpeg/default.nix
blob: 9fd1295733c4655666623fd05fdd865350341ad6 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, buildPythonPackage, fetchPypi, isPy3k
, async-timeout }:

buildPythonPackage rec {
  pname = "ha-ffmpeg";
  version = "3.0.2";

  disabled = !isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "8d92f2f5790da038d828ac862673e0bb43e8e972e4c70b1714dd9a0fb776c8d1";
  };

  propagatedBuildInputs = [ async-timeout ];

  # only manual tests
  doCheck = false;

  pythonImportsCheck = [
    "haffmpeg.camera"
    "haffmpeg.sensor"
    "haffmpeg.tools"
  ];

  meta = with lib; {
    homepage = "https://github.com/pvizeli/ha-ffmpeg";
    description = "Library for home-assistant to handle ffmpeg";
    license = licenses.bsd3;
    maintainers = teams.home-assistant.members;
  };
}