2021-03-09 03:18:52 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, buildPythonPackage
|
2021-04-12 18:23:04 +00:00
|
|
|
, cryptography
|
2021-03-09 03:18:52 +00:00
|
|
|
, fetchPypi
|
2023-07-15 17:15:38 +00:00
|
|
|
, poetry-core
|
2021-03-09 03:18:52 +00:00
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymazda";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.3.9";
|
|
|
|
format = "pyproject";
|
2022-01-23 02:10:13 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-S5mM15DcEBwczsLk6VJDzgMo80NjsCeehz66SALYeV4=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
2021-04-12 18:23:04 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
cryptography
|
|
|
|
];
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
2022-01-23 02:10:13 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"pymazda"
|
|
|
|
];
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python client for interacting with the MyMazda API";
|
|
|
|
homepage = "https://github.com/bdr99/pymazda";
|
2023-07-15 17:15:38 +00:00
|
|
|
changelog = "https://github.com/bdr99/pymazda/releases/tag/${version}";
|
2021-03-09 03:18:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|