depot/third_party/nixpkgs/pkgs/development/python-modules/waqiasync/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

34 lines
666 B
Nix

{
lib,
aiohttp,
async-timeout,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "waqiasync";
version = "1.1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-SOs998BQV4UlLnRB3Yf7zze51u43g2Npwgk6y80S+m8=";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "waqiasync" ];
meta = with lib; {
description = "Python library for http://aqicn.org";
homepage = "https://github.com/andrey-git/waqi-async";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}