diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-18 20:23:48 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-18 20:23:48 +0100 |
commit | 34d0facd77eadbbfc36bae731b1ca815d8b7d6a7 (patch) | |
tree | c2cba3fc08093a78913ac1c1b85692b496c5e6e9 /pkgs/development/python-modules/waqiasync/default.nix | |
parent | 156071bfc8214c192e357f6d231e3db0ec81d352 (diff) |
python3Packages.waqiasync: init at 1.0.0
Diffstat (limited to 'pkgs/development/python-modules/waqiasync/default.nix')
-rw-r--r-- | pkgs/development/python-modules/waqiasync/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/waqiasync/default.nix b/pkgs/development/python-modules/waqiasync/default.nix new file mode 100644 index 000000000000..3b8dfce61146 --- /dev/null +++ b/pkgs/development/python-modules/waqiasync/default.nix @@ -0,0 +1,32 @@ +{ 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 ]; + }; +} |