nixpkgs/pkgs/development/python-modules/pymazda/default.nix
Martin Weinelt e7436d2c9f python3Packages.pymazda: fix build
The pycryptodome dependency was replaced by cryptography. Sadly the git
repository is out of date.
2021-04-03 17:56:15 +02:00

35 lines
686 B
Nix

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