Unverified Commit 179516ed authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.xs1-api-client: init at 3.0.1 (#432711)

parents 5fff6d13 e3b85f0a
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −1
Original line number Diff line number Diff line
@@ -6689,7 +6689,8 @@
      ];
    "xs1" =
      ps: with ps; [
      ]; # missing inputs: xs1-api-client
        xs1-api-client
      ];
    "yale" =
      ps: with ps; [
        aiohasupervisor
+2 −0
Original line number Diff line number Diff line
@@ -19970,6 +19970,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 { };