Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pubnub 5, pycryptodomex 6, requests 7}: 8 9buildPythonPackage rec { 10 pname = "pubnubsub-handler"; 11 version = "1.0.9"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "sha256:1c44x19zi709sazgl060nkqa7vbaf3iyhwcnwdykhsbipvp6bscy"; 16 }; 17 18 propagatedBuildInputs = [ 19 pubnub 20 pycryptodomex 21 requests 22 ]; 23 24 # Project has no tests 25 doCheck = false; 26 pythonImportsCheck = [ "pubnubsubhandler" ]; 27 28 meta = with lib; { 29 description = "PubNub subscription between PubNub and Home Assistant"; 30 homepage = "https://github.com/w1ll1am23/pubnubsub-handler"; 31 license = with licenses; [ mit ]; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}