2021-03-04 20:02:14 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, buildPythonPackage
|
2021-04-08 09:19:12 +01:00
|
|
|
, cryptography
|
2021-03-04 20:02:14 +00:00
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymazda";
|
2021-04-08 09:19:12 +01:00
|
|
|
version = "0.1.1";
|
2021-03-04 20:02:14 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-08 09:19:12 +01:00
|
|
|
sha256 = "sha256-Z0sRfLkOxYmPDZiSKqqbd68dcTDU+x8QhPe/Oo43KEA=";
|
2021-03-04 20:02:14 +00:00
|
|
|
};
|
|
|
|
|
2021-04-08 09:19:12 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
cryptography
|
|
|
|
];
|
2021-03-04 20:02:14 +00:00
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pymazda" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python client for interacting with the MyMazda API";
|
|
|
|
homepage = "https://github.com/bdr99/pymazda";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|