nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 878 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 requests, 7 websocket-client, 8}: 9 10buildPythonPackage rec { 11 pname = "zwave-me-ws"; 12 version = "0.4.3"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "Z-Wave-Me"; 17 repo = "zwave-me-ws"; 18 tag = "v${version}"; 19 hash = "sha256-bTchtgr+UbHCpcXMaQA3bTrhasJ79TguvAqLNlpD/2c="; 20 }; 21 22 nativeBuildInputs = [ poetry-core ]; 23 24 propagatedBuildInputs = [ 25 requests 26 websocket-client 27 ]; 28 29 # Module has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ "zwave_me_ws" ]; 33 34 meta = { 35 description = "Library to connect to a ZWave-Me instance"; 36 homepage = "https://github.com/Z-Wave-Me/zwave-me-ws"; 37 changelog = "https://github.com/Z-Wave-Me/zwave-me-ws/releases/tag/v${version}"; 38 license = with lib.licenses; [ mit ]; 39 maintainers = with lib.maintainers; [ fab ]; 40 }; 41}