depot/third_party/nixpkgs/pkgs/development/python-modules/pykmtronic/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

29 lines
611 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, lxml
}:
buildPythonPackage rec {
pname = "pykmtronic";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-8qLyBJp7C93x0PWbgDAtNEDJ5VLNfwZ3DRZfudRCBgo=";
};
propagatedBuildInputs = [ aiohttp lxml ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pykmtronic" ];
meta = with lib; {
description = "Python client to interface with KM-Tronic web relays";
homepage = "https://github.com/dgomes/pykmtronic";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}