39 lines
704 B
Nix
39 lines
704 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, cryptography
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pymazda";
|
|
version = "0.3.8";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-CBPBmzghuc+kvBt50qmU+jHyUdGgLgNX3jcVm9CC7/Q=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
cryptography
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|