Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 51 lines 1.0 kB view raw
1{ lib 2, aiohttp 3, aresponses 4, asynctest 5, buildPythonPackage 6, fetchFromGitHub 7, poetry-core 8, pytest-aiohttp 9, pytest-asyncio 10, pytest-cov 11, pytest-mock 12, pytestCheckHook 13}: 14 15buildPythonPackage rec { 16 pname = "regenmaschine"; 17 version = "3.1.2"; 18 format = "pyproject"; 19 20 src = fetchFromGitHub { 21 owner = "bachya"; 22 repo = pname; 23 rev = version; 24 sha256 = "sha256-lARti3Sb/jh7h8x+lFLqkM/BlL6XmELm46owsL041Cw="; 25 }; 26 27 nativeBuildInputs = [ poetry-core ]; 28 29 propagatedBuildInputs = [ aiohttp ]; 30 31 checkInputs = [ 32 aresponses 33 asynctest 34 pytest-aiohttp 35 pytest-asyncio 36 pytest-cov 37 pytest-mock 38 pytestCheckHook 39 ]; 40 41 pythonImportsCheck = [ "regenmaschine" ]; 42 43 __darwinAllowLocalNetworking = true; 44 45 meta = with lib; { 46 description = "Python library for interacting with RainMachine smart sprinkler controllers"; 47 homepage = "https://github.com/bachya/regenmaschine"; 48 license = with licenses; [ mit ]; 49 maintainers = with maintainers; [ fab ]; 50 }; 51}