Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 48 lines 997 B view raw
1{ 2 lib, 3 aiohttp, 4 aiortsp, 5 buildPythonPackage, 6 fetchFromGitHub, 7 orjson, 8 pythonOlder, 9 setuptools, 10 typing-extensions, 11}: 12 13buildPythonPackage rec { 14 pname = "reolink-aio"; 15 version = "0.8.10"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.9"; 19 20 src = fetchFromGitHub { 21 owner = "starkillerOG"; 22 repo = "reolink_aio"; 23 rev = "refs/tags/${version}"; 24 hash = "sha256-qawrTTLp+qFUVn5TUQ73TcPu37c0EywzJl+8oFW8L04="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 aiohttp 31 aiortsp 32 orjson 33 typing-extensions 34 ]; 35 36 pythonImportsCheck = [ "reolink_aio" ]; 37 38 # All tests require a network device 39 doCheck = false; 40 41 meta = with lib; { 42 description = "Module to interact with the Reolink IP camera API"; 43 homepage = "https://github.com/starkillerOG/reolink_aio"; 44 changelog = "https://github.com/starkillerOG/reolink_aio/releases/tag/${version}"; 45 license = with licenses; [ mit ]; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}