Merge pull request #278575 from fabaff/dropmqttapi

python311Packages.dropmqttapi: init at 1.0.2
This commit is contained in:
Fabian Affolter 2024-01-04 20:38:17 +01:00 committed by GitHub
commit 7a7cfff891
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "dropmqttapi";
version = "1.0.2";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "ChandlerSystems";
repo = "dropmqttapi";
rev = "refs/tags/v${version}";
hash = "sha256-5UnjIv57b4JV/vFyQpe+AS4e/fiE2y7ynZx5g6+oSyQ=";
};
nativeBuildInputs = [
setuptools
];
# Module has no test
doCheck = false;
pythonImportsCheck = [
"dropmqttapi"
];
meta = with lib; {
description = "Python MQTT API for DROP water management products";
homepage = "https://github.com/ChandlerSystems/dropmqttapi";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -3405,6 +3405,8 @@ self: super: with self; {
dropbox = callPackage ../development/python-modules/dropbox { };
dropmqttapi = callPackage ../development/python-modules/dropmqttapi { };
ds-store = callPackage ../development/python-modules/ds-store { };
ds4drv = callPackage ../development/python-modules/ds4drv { };