5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
36 lines
757 B
Nix
36 lines
757 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dropmqttapi";
|
|
version = "1.0.3";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ChandlerSystems";
|
|
repo = "dropmqttapi";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-njReF9Mu5E9o5WcbK60CCBWaIhZ3tpQHHlY/iEyyHGg=";
|
|
};
|
|
|
|
build-system = [ 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 ];
|
|
};
|
|
}
|