nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 849 B view raw
1{ 2 lib, 3 aiohttp, 4 async-timeout, 5 buildPythonPackage, 6 fetchFromGitHub, 7}: 8 9buildPythonPackage rec { 10 pname = "webthing-ws"; 11 version = "0.2.0"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "home-assistant-ecosystem"; 16 repo = "webthing-ws"; 17 tag = version; 18 hash = "sha256-j7nc4yJczDs28RVFDHeQ2ZIG9mIW2m25AAeErVKi4E4="; 19 }; 20 21 propagatedBuildInputs = [ 22 aiohttp 23 async-timeout 24 ]; 25 26 # Module has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ "webthing_ws" ]; 30 31 meta = { 32 description = "WebThing WebSocket consumer and API client"; 33 homepage = "https://github.com/home-assistant-ecosystem/webthing-ws"; 34 changelog = "https://github.com/home-assistant-ecosystem/webthing-ws/releases/tag/${version}"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ fab ]; 37 }; 38}