depot/third_party/nixpkgs/pkgs/development/python-modules/ha-ffmpeg/default.nix
Default email 5557ff764c Project import generated by Copybara.
GitOrigin-RevId: 988cc958c57ce4350ec248d2d53087777f9e1949
2023-02-22 11:55:15 +01:00

40 lines
840 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, async-timeout
}:
buildPythonPackage rec {
pname = "ha-ffmpeg";
version = "3.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-sheNYtmp1panthglpEqJTdaCgGBTUJRswikl5hu9k7s=";
};
propagatedBuildInputs = [
async-timeout
];
# only manual tests
doCheck = false;
pythonImportsCheck = [
"haffmpeg.camera"
"haffmpeg.sensor"
"haffmpeg.tools"
];
meta = with lib; {
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 = licenses.bsd3;
maintainers = teams.home-assistant.members;
};
}