depot/third_party/nixpkgs/pkgs/development/python-modules/peco/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

41 lines
745 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchPypi,
pydantic,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "peco";
version = "0.0.30";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-a3MPqtbDftbLGtpJ66CFVC5wJFa9L3dqOKPfBZCaHpM=";
};
build-system = [ setuptools ];
dependencies = [
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 ];
};
}