python312Packages.elgato: refactor (#386762)
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
orjson,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
yarl,
|
||||
@@ -16,7 +17,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "elgato";
|
||||
version = "5.1.2";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
@@ -31,12 +32,11 @@ buildPythonPackage rec {
|
||||
# Upstream doesn't set a version for the pyproject.toml
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "0.0.0" "${version}" \
|
||||
--replace "--cov" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
mashumaro
|
||||
orjson
|
||||
@@ -46,6 +46,7 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
aresponses
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
@@ -55,7 +56,7 @@ buildPythonPackage rec {
|
||||
description = "Python client for Elgato Key Lights";
|
||||
homepage = "https://github.com/frenck/python-elgato";
|
||||
changelog = "https://github.com/frenck/python-elgato/releases/tag/v${version}";
|
||||
license = with licenses; [ mit ];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user