python3Packages.elmax-api: init at 0.0.2
This commit is contained in:
parent
ebbaef0287
commit
82c8934867
2 changed files with 45 additions and 0 deletions
43
pkgs/development/python-modules/elmax-api/default.nix
Normal file
43
pkgs/development/python-modules/elmax-api/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, httpx
|
||||
, pyjwt
|
||||
, pythonOlder
|
||||
, yarl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "elmax-api";
|
||||
version = "0.0.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "albertogeniola";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-YUnLi8+ibUgWoMFMgZPSPbpr286bnWBefxjOV7JfCuY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
httpx
|
||||
pyjwt
|
||||
yarl
|
||||
];
|
||||
|
||||
# Test require network access
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"elmax_api"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for interacting with the Elmax cloud";
|
||||
homepage = "https://github.com/albertogeniola/elmax-api";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -2464,6 +2464,8 @@ in {
|
|||
|
||||
elmax = callPackage ../development/python-modules/elmax { };
|
||||
|
||||
elmax-api = callPackage ../development/python-modules/elmax-api { };
|
||||
|
||||
emailthreads = callPackage ../development/python-modules/emailthreads { };
|
||||
|
||||
email_validator = callPackage ../development/python-modules/email-validator { };
|
||||
|
|
Loading…
Reference in a new issue