mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
python3Packages.xs1-api-client: init at 3.0.1
This commit is contained in:
37
pkgs/development/python-modules/xs1-api-client/default.nix
Normal file
37
pkgs/development/python-modules/xs1-api-client/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user