depot/third_party/nixpkgs/pkgs/development/python-modules/peco/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

44 lines
766 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pydantic
, pythonOlder
, setuptools
}:
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=";
};
nativeBuildInputs = [
setuptools
];
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 ];
};
}