From 8f88e1358b3be1e894a1cecc97125af2bcf28d4c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Mar 2021 21:02:14 +0100 Subject: [PATCH] python3Packages.pymazda: init at 0.0.9 --- .../python-modules/pymazda/default.nix | 31 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/python-modules/pymazda/default.nix diff --git a/pkgs/development/python-modules/pymazda/default.nix b/pkgs/development/python-modules/pymazda/default.nix new file mode 100644 index 000000000000..145b405922d8 --- /dev/null +++ b/pkgs/development/python-modules/pymazda/default.nix @@ -0,0 +1,31 @@ +{ lib +, aiohttp +, buildPythonPackage +, fetchPypi +, pycryptodome +, pythonOlder +}: + +buildPythonPackage rec { + pname = "pymazda"; + version = "0.0.9"; + disabled = pythonOlder "3.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "15kygabjlxmy3g5kj48ixqdwaz8qrfzxj8ii27cidsp2fq8ph165"; + }; + + propagatedBuildInputs = [ aiohttp pycryptodome ]; + + # 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 16c06ad170b9..7948be744f87 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5718,6 +5718,8 @@ in { pymavlink = callPackage ../development/python-modules/pymavlink { }; + pymazda = callPackage ../development/python-modules/pymazda { }; + pymbolic = callPackage ../development/python-modules/pymbolic { }; pymc3 = callPackage ../development/python-modules/pymc3 { };