Merge pull request #185475 from fabaff/zadnegoale

This commit is contained in:
Sandro 2022-08-07 23:16:50 +02:00 committed by GitHub
commit f71b7b3dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,51 @@
{ lib
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, dacite
, orjson
, pytest-asyncio
, pytest-error-for-skips
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "zadnegoale";
version = "0.6.5";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "bieniu";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-ubBN4jvueNgReNbS+RXNDNHID0MF/rvQnb0+F4/DZaU=";
};
propagatedBuildInputs = [
aiohttp
dacite
orjson
];
checkInputs = [
aioresponses
pytest-asyncio
pytest-error-for-skips
pytestCheckHook
];
pythonImportsCheck = [
"zadnegoale"
];
meta = with lib; {
description = "Python wrapper for getting allergen concentration data from Żadnego Ale servers";
homepage = "https://github.com/bieniu/zadnegoale";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -11699,6 +11699,8 @@ in {
inherit python;
})).python;
zadnegoale = callPackage ../development/python-modules/zadnegoale { };
zake = callPackage ../development/python-modules/zake { };
zarr = callPackage ../development/python-modules/zarr { };