mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
34 lines
663 B
Nix
34 lines
663 B
Nix
{ 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 ];
|
|
};
|
|
}
|