Files
nixpkgs/pkgs/development/python-modules/ha-ffmpeg/default.nix
T
Martin Weinelt 8ea6bde88d treewide: prune pythonOlder 3.10/3.11
This is a post 3.10 removal cleanup.
2026-02-15 04:33:54 +01:00

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 ];
};
}