depot/third_party/nixpkgs/pkgs/development/python-modules/pymazda/default.nix
Default email ec92d4d331 Project import generated by Copybara.
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
2021-05-28 11:39:13 +02:00

34 lines
673 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, cryptography
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "pymazda";
version = "0.1.6";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-fQcycOMNYCO6bP344DTLxNf/YoliEITyxsnIDyTPO5E=";
};
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 ];
};
}