limo: 1.0.11 > 1.1 (#376325)
[NixPkgs.git] / pkgs / development / python-modules / ha-ffmpeg / default.nix
blobfcd92317adcbbc8b51c81b13e77e45c6eeda11c8
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   async-timeout,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "ha-ffmpeg";
12   version = "3.2.2";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "home-assistant-libs";
19     repo = "ha-ffmpeg";
20     tag = version;
21     hash = "sha256-TbSoKoOiLx3O7iykiTri5GBHGj7WoB8iSCpFIrV4ZgU=";
22   };
24   build-system = [ setuptools ];
26   dependencies = [ async-timeout ];
28   # only manual tests
29   doCheck = false;
31   pythonImportsCheck = [
32     "haffmpeg.camera"
33     "haffmpeg.sensor"
34     "haffmpeg.tools"
35   ];
37   meta = with lib; {
38     description = "Library for Home Assistant to handle ffmpeg";
39     homepage = "https://github.com/home-assistant-libs/ha-ffmpeg/";
40     changelog = "https://github.com/home-assistant-libs/ha-ffmpeg/releases/tag/${version}";
41     license = licenses.bsd3;
42     maintainers = teams.home-assistant.members;
43   };