depot/third_party/nixpkgs/pkgs/development/python-modules/dropmqttapi/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

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 ];
};
}