python3Packages.xs1-api-client: init at 3.0.1

This commit is contained in:
Jamie Magee
2025-08-10 23:08:38 -07:00
parent 23d5ce0b47
commit f006d6460d
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
urllib3,
}:
buildPythonPackage rec {
pname = "xs1-api-client";
version = "3.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "markusressel";
repo = "xs1-api-client";
tag = "v${version}";
hash = "sha256-bAxrqtjoJaPkTzeeOeXSTpJN3rPszi5W4q6Q7ZRo0hc=";
};
build-system = [ setuptools ];
dependencies = [
requests
urllib3
];
pythonImportsCheck = [ "xs1_api_client" ];
meta = {
description = "Python library for accessing actuator and sensor data on the EZcontrol XS1 Gateway";
homepage = "https://github.com/markusressel/xs1-api-client";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.jamiemagee ];
};
}

View File

@@ -19958,6 +19958,8 @@ self: super: with self; {
xrootd = callPackage ../development/python-modules/xrootd { inherit (pkgs) xrootd; };
xs1-api-client = callPackage ../development/python-modules/xs1-api-client { };
xsdata = callPackage ../development/python-modules/xsdata { };
xstatic = callPackage ../development/python-modules/xstatic { };