Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 912 B view raw
1{ lib 2, aiohttp 3, aresponses 4, buildPythonPackage 5, fetchFromGitHub 6, poetry-core 7, pytest-aiohttp 8, pytest-asyncio 9, pytestCheckHook 10, pythonOlder 11}: 12 13buildPythonPackage rec { 14 pname = "aioflo"; 15 version = "2021.11.0"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromGitHub { 21 owner = "bachya"; 22 repo = pname; 23 rev = version; 24 hash = "sha256-7NrOoc1gi8YzZaKvCnHnzAKPlMnMhqxjdyZGN5H/8TQ="; 25 }; 26 27 nativeBuildInputs = [ 28 poetry-core 29 ]; 30 31 propagatedBuildInputs = [ 32 aiohttp 33 ]; 34 35 nativeCheckInputs = [ 36 aresponses 37 pytest-aiohttp 38 pytest-asyncio 39 pytestCheckHook 40 ]; 41 42 pythonImportsCheck = [ 43 "aioflo" 44 ]; 45 46 meta = with lib; { 47 description = "Python library for Flo by Moen Smart Water Detectors"; 48 homepage = "https://github.com/bachya/aioflo"; 49 license = with licenses; [ mit ]; 50 maintainers = with maintainers; [ fab ]; 51 }; 52}