mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-08 05:27:57 +03:00
python311Packages.aioelectricitymaps: init at 0.1.3
Module for interacting with Electricity maps "https://github.com/jpbede/aioelectricitymaps
This commit is contained in:
parent
618b0dfbd0
commit
3c0bf35c62
@ -0,0 +1,55 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, dataclasses-json
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, syrupy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioelectricitymaps";
|
||||
version = "0.1.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jpbede";
|
||||
repo = "aioelectricitymaps";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-2Ou3obpGRJ/iUPuaoBGlmDTJLx6+S8ivK9PbrbSvYyg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
dataclasses-json
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aresponses
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioelectricitymaps"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for interacting with Electricity maps";
|
||||
homepage = "https://github.com/jpbede/aioelectricitymaps";
|
||||
changelog = "https://github.com/jpbede/aioelectricitymaps/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -198,6 +198,8 @@ self: super: with self; {
|
||||
|
||||
aioecowitt = callPackage ../development/python-modules/aioecowitt { };
|
||||
|
||||
aioelectricitymaps = callPackage ../development/python-modules/aioelectricitymaps { };
|
||||
|
||||
aioemonitor = callPackage ../development/python-modules/aioemonitor { };
|
||||
|
||||
aioesphomeapi = callPackage ../development/python-modules/aioesphomeapi { };
|
||||
|
Loading…
Reference in New Issue
Block a user