nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 42 lines 873 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "ha-ffmpeg"; 10 version = "3.2.2"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "home-assistant-libs"; 15 repo = "ha-ffmpeg"; 16 tag = version; 17 hash = "sha256-TbSoKoOiLx3O7iykiTri5GBHGj7WoB8iSCpFIrV4ZgU="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 pythonRemoveDeps = [ 23 "async_timeout" 24 ]; 25 26 # only manual tests 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "haffmpeg.camera" 31 "haffmpeg.sensor" 32 "haffmpeg.tools" 33 ]; 34 35 meta = { 36 description = "Library for Home Assistant to handle ffmpeg"; 37 homepage = "https://github.com/home-assistant-libs/ha-ffmpeg/"; 38 changelog = "https://github.com/home-assistant-libs/ha-ffmpeg/releases/tag/${version}"; 39 license = lib.licenses.bsd3; 40 teams = [ lib.teams.home-assistant ]; 41 }; 42}