620eecebfb
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
34 lines
673 B
Nix
34 lines
673 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, cryptography
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pymazda";
|
|
version = "0.2.2";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-nngYdoVY3rXfszoCpUWFtJ0U0Rjczxix/wJDOZD+2O4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|