depot/third_party/nixpkgs/pkgs/development/python-modules/volkszaehler/default.nix
Default email ffc78d3539 Project import generated by Copybara.
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
2021-01-05 19:05:55 +02:00

33 lines
687 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, async-timeout
}:
buildPythonPackage rec {
pname = "volkszaehler";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "087gw1k3f81lm859r0j65cjia8c2dcy4cx8c7s3mb5msb1csdh0x";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# no tests are present
doCheck = false;
pythonImportsCheck = [ "volkszaehler" ];
meta = with lib; {
description = "Python Wrapper for interacting with the Volkszahler API";
homepage = "https://github.com/home-assistant-ecosystem/python-volkszaehler";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}