Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dropmqttapi / default.nix
blob84e09ecf919cf126aa41074cee9a7521715d659e
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   setuptools,
7 }:
9 buildPythonPackage rec {
10   pname = "dropmqttapi";
11   version = "1.0.3";
12   pyproject = true;
14   disabled = pythonOlder "3.11";
16   src = fetchFromGitHub {
17     owner = "ChandlerSystems";
18     repo = "dropmqttapi";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-njReF9Mu5E9o5WcbK60CCBWaIhZ3tpQHHlY/iEyyHGg=";
21   };
23   build-system = [ setuptools ];
25   # Module has no test
26   doCheck = false;
28   pythonImportsCheck = [ "dropmqttapi" ];
30   meta = with lib; {
31     description = "Python MQTT API for DROP water management products";
32     homepage = "https://github.com/ChandlerSystems/dropmqttapi";
33     license = licenses.mit;
34     maintainers = with maintainers; [ fab ];
35   };