Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 aiohttp, 4 aiozoneinfo, 5 buildPythonPackage, 6 fetchFromGitHub, 7 pydantic, 8 pythonOlder, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "lacrosse-view"; 14 version = "1.1.1"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchFromGitHub { 20 owner = "IceBotYT"; 21 repo = "lacrosse_view"; 22 tag = "v${version}"; 23 hash = "sha256-fIeVRqGEL79pOl/zAk3nrrgOgfvlujjK3sFfPVWfUxM="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 aiohttp 30 aiozoneinfo 31 pydantic 32 ]; 33 34 # No tests 35 doCheck = false; 36 37 pythonImportsCheck = [ "lacrosse_view" ]; 38 39 meta = { 40 description = "Client for retrieving data from the La Crosse View cloud"; 41 homepage = "https://github.com/IceBotYT/lacrosse_view"; 42 changelog = "https://github.com/IceBotYT/lacrosse_view/releases/tag/v${version}"; 43 license = lib.licenses.mit; 44 maintainers = [ lib.maintainers.jamiemagee ]; 45 }; 46}