nixpkgs/pkgs/development/python-modules/pymazda/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
840 B
Nix
Raw Normal View History

2021-03-04 20:02:14 +00:00
{ lib
, aiohttp
, buildPythonPackage
, cryptography
2021-03-04 20:02:14 +00:00
, fetchPypi
, poetry-core
2021-03-04 20:02:14 +00:00
, pythonOlder
}:
buildPythonPackage rec {
pname = "pymazda";
version = "0.3.11";
format = "pyproject";
2022-01-22 17:32:34 +00:00
disabled = pythonOlder "3.8";
2021-03-04 20:02:14 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-DiXLY4mfgRbE0Y1tOJnkMSQQj1vcySLVDBthOWe7/dM=";
2021-03-04 20:02:14 +00:00
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
cryptography
];
2021-03-04 20:02:14 +00:00
# Project has no tests
doCheck = false;
2022-01-22 17:32:34 +00:00
pythonImportsCheck = [
"pymazda"
];
2021-03-04 20:02:14 +00:00
meta = with lib; {
description = "Python client for interacting with the MyMazda API";
homepage = "https://github.com/bdr99/pymazda";
changelog = "https://github.com/bdr99/pymazda/releases/tag/${version}";
2021-03-04 20:02:14 +00:00
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}