Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
767 B · 39 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ 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 ]; };}