python310Packages.laundrify-aio: init at 1.1.1

This commit is contained in:
Fabian Affolter 2022-05-29 15:11:48 +02:00
parent f579f725ed
commit 20cf7aa9c8
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, aiohttp
, pyjwt
}:
buildPythonPackage rec {
pname = "laundrify-aio";
version = "1.1.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "laundrify";
repo = "laundrify-pypi";
rev = "v${version}";
hash = "sha256-Wgyg3U63yNKQ/rLU5RmV1cv0ZWxoXoaaLdhPZiu9Ncg=";
};
propagatedBuildInputs = [
aiohttp
pyjwt
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"laundrify_aio"
];
meta = with lib; {
description = "Module to communicate with the laundrify API";
homepage = "https://github.com/laundrify/laundrify-pypi";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -4729,6 +4729,8 @@ in {
launchpadlib = callPackage ../development/python-modules/launchpadlib { };
laundrify-aio = callPackage ../development/python-modules/laundrify-aio { };
lazr_config = callPackage ../development/python-modules/lazr/config.nix { };
lazr_delegates = callPackage ../development/python-modules/lazr/delegates.nix { };