diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/python-openzwave-mqtt/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/python-openzwave-mqtt/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/python-openzwave-mqtt/default.nix b/nixpkgs/pkgs/development/python-modules/python-openzwave-mqtt/default.nix new file mode 100644 index 000000000000..a2c76c7d6d54 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/python-openzwave-mqtt/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, asyncio-mqtt +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "python-openzwave-mqtt"; + version = "1.4.0"; + + src = fetchFromGitHub { + owner = "cgarwood"; + repo = pname; + rev = "v${version}"; + sha256 = "0zqx00dacs59y4gjr4swrn46c7hrp8a1167bcl270333284m8mqm"; + }; + + propagatedBuildInputs = [ + asyncio-mqtt + ]; + + checkInputs = [ + pytestCheckHook + ]; + + meta = with lib; { + description = "Python wrapper for OpenZWave's MQTT daemon"; + homepage = "https://github.com/cgarwood/python-openzwave-mqtt"; + license = licenses.asl20; + maintainers = with maintainers; [ hexa ]; + }; +} |