nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 47 lines 946 B view raw
1{ lib 2, aioconsole 3, aiohttp 4, buildPythonPackage 5, fetchFromGitHub 6, pytest-asyncio 7, pytest-mock 8, pytestCheckHook 9, pythonOlder 10, websockets 11}: 12 13buildPythonPackage rec { 14 pname = "whirlpool-sixth-sense"; 15 version = "unstable-2021-08-22"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromGitHub { 21 owner = "abmantis"; 22 repo = pname; 23 rev = "ca336173d3b5d9a13e7e4b0fa7ca998a9b71d729"; 24 sha256 = "0b7bqg4h9q9rk3hv2im903xn7jgfyf36kcv31v96ap75yrvip6wa"; 25 }; 26 27 propagatedBuildInputs = [ 28 aioconsole 29 aiohttp 30 websockets 31 ]; 32 33 checkInputs = [ 34 pytest-asyncio 35 pytest-mock 36 pytestCheckHook 37 ]; 38 39 pythonImportsCheck = [ "whirlpool" ]; 40 41 meta = with lib; { 42 description = "Python library for Whirlpool 6th Sense appliances"; 43 homepage = "https://github.com/abmantis/whirlpool-sixth-sense/"; 44 license = with licenses; [ mit ]; 45 maintainers = with maintainers; [ fab ]; 46 }; 47}