depot/third_party/nixpkgs/pkgs/development/python-modules/waqiasync/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

32 lines
637 B
Nix

{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "waqiasync";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1yxls7ywfg954c3vxgnp98qa1b8dsq9b2fld11fb9sx1k4mjc29d";
};
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 ];
};
}