Merge pull request #185475 from fabaff/zadnegoale
This commit is contained in:
commit
f71b7b3dc5
2 changed files with 53 additions and 0 deletions
51
pkgs/development/python-modules/zadnegoale/default.nix
Normal file
51
pkgs/development/python-modules/zadnegoale/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue