Merge pull request #282421 from fabaff/demetriek-fix
python311Packages.demetriek: relax pydantic
This commit is contained in:
commit
62eacc67a9
@ -1,23 +1,24 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, awesomeversion
|
||||
, backoff
|
||||
, buildPythonPackage
|
||||
, pydantic
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, poetry-core
|
||||
, yarl
|
||||
, aresponses
|
||||
, pydantic
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, yarl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "demetriek";
|
||||
version = "0.4.0";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
@ -45,8 +46,13 @@ buildPythonPackage rec {
|
||||
--replace "--cov" ""
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pydantic"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -72,6 +78,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python client for LaMetric TIME devices";
|
||||
homepage = "https://github.com/frenck/python-demetriek";
|
||||
changelog = "https://github.com/frenck/python-demetriek/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user