mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #278575 from fabaff/dropmqttapi
python311Packages.dropmqttapi: init at 1.0.2
This commit is contained in:
commit
7a7cfff891
39
pkgs/development/python-modules/dropmqttapi/default.nix
Normal file
39
pkgs/development/python-modules/dropmqttapi/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user