Merge pull request #114690 from fabaff/elmax
python3Packages.elmax: init at 0.1.0
This commit is contained in:
commit
eed476f472
40
pkgs/development/python-modules/elmax/default.nix
Normal file
40
pkgs/development/python-modules/elmax/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, httpx
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
, yarl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "elmax";
|
||||
version = "0.1.0";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-ecosystem";
|
||||
repo = "python-elmax";
|
||||
rev = version;
|
||||
sha256 = "0np3ixw8khrzb7hd8ly8xv349vnas0myfv9s0ahic58r1l9lcwa4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
httpx
|
||||
yarl
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "elmax" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API client for the Elmax Cloud services";
|
||||
homepage = "https://github.com/home-assistant-ecosystem/python-elmax";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -2063,6 +2063,8 @@ in {
|
||||
|
||||
eliot = callPackage ../development/python-modules/eliot { };
|
||||
|
||||
elmax = callPackage ../development/python-modules/elmax { };
|
||||
|
||||
emailthreads = callPackage ../development/python-modules/emailthreads { };
|
||||
|
||||
email_validator = callPackage ../development/python-modules/email-validator { };
|
||||
|
Loading…
Reference in New Issue
Block a user