python3Packages.peco: init at 0.0.29

This commit is contained in:
Fabian Affolter 2022-04-24 23:05:32 +02:00
parent a6633d255f
commit 440d748e10
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pydantic
, pythonOlder
}:
buildPythonPackage rec {
pname = "peco";
version = "0.0.29";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-zL0tBTwm+l5eyxlWr2xoE+nLpMfUKri1/yD+WgTUqHQ=";
};
propagatedBuildInputs = [
aiohttp
pydantic
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"peco"
];
meta = with lib; {
description = "Library for interacting with the PECO outage map";
homepage = "https://github.com/IceBotYT/peco-outage-api";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -6130,6 +6130,8 @@ in {
pecan = callPackage ../development/python-modules/pecan { };
peco = callPackage ../development/python-modules/peco { };
peewee = callPackage ../development/python-modules/peewee { };
pefile = callPackage ../development/python-modules/pefile { };