mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
40 lines
706 B
Nix
40 lines
706 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, cryptography
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pymazda";
|
|
version = "0.3.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-jvDjitS8r0oyANxUGbYksX7O7dbEqZeWEpYc9gABb78=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|