depot/third_party/nixpkgs/pkgs/development/python-modules/omnilogic/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

39 lines
783 B
Nix

{ lib
, aiohttp
, xmltodict
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "omnilogic";
version = "0.4.6";
disabled = pythonOlder "3.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "djtimca";
repo = "omnilogic-api";
rev = version;
hash = "sha256-XyAniuUr/Kt8VfBtovD4kKLG+ehOqE26egEG7j8q9LY=";
};
propagatedBuildInputs = [
aiohttp
xmltodict
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "omnilogic" ];
meta = with lib; {
description = "Python interface for the Hayward Omnilogic pool control system";
homepage = "https://github.com/djtimca/omnilogic-api";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}