8ea6bde88d
This is a post 3.10 removal cleanup.
43 lines
873 B
Nix
43 lines
873 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ha-ffmpeg";
|
|
version = "3.2.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "home-assistant-libs";
|
|
repo = "ha-ffmpeg";
|
|
tag = version;
|
|
hash = "sha256-TbSoKoOiLx3O7iykiTri5GBHGj7WoB8iSCpFIrV4ZgU=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonRemoveDeps = [
|
|
"async_timeout"
|
|
];
|
|
|
|
# only manual tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"haffmpeg.camera"
|
|
"haffmpeg.sensor"
|
|
"haffmpeg.tools"
|
|
];
|
|
|
|
meta = {
|
|
description = "Library for Home Assistant to handle ffmpeg";
|
|
homepage = "https://github.com/home-assistant-libs/ha-ffmpeg/";
|
|
changelog = "https://github.com/home-assistant-libs/ha-ffmpeg/releases/tag/${version}";
|
|
license = lib.licenses.bsd3;
|
|
teams = [ lib.teams.home-assistant ];
|
|
};
|
|
}
|