Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 aiohttp, 4 aioresponses, 5 buildPythonPackage, 6 fetchFromGitHub, 7 poetry-core, 8 poetry-dynamic-versioning, 9 pyjwt, 10 pytest-aiohttp, 11 pytest-freezegun, 12 pytestCheckHook, 13 pythonOlder, 14 deepdiff, 15}: 16 17buildPythonPackage rec { 18 pname = "pylitterbot"; 19 version = "2023.5.0"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.9"; 23 24 src = fetchFromGitHub { 25 owner = "natekspencer"; 26 repo = "pylitterbot"; 27 rev = "refs/tags/v${version}"; 28 hash = "sha256-MSQdX2PKQohmPGqtRZnUmCCVgKgaf4+cHAUItiPv7pY="; 29 }; 30 31 pythonRelaxDeps = [ "deepdiff" ]; 32 33 build-system = [ 34 poetry-core 35 poetry-dynamic-versioning 36 ]; 37 38 dependencies = [ 39 aiohttp 40 deepdiff 41 pyjwt 42 ]; 43 44 nativeCheckInputs = [ 45 aioresponses 46 pytest-aiohttp 47 pytest-freezegun 48 pytestCheckHook 49 ]; 50 51 pythonImportsCheck = [ "pylitterbot" ]; 52 53 meta = with lib; { 54 description = "Modulefor controlling a Litter-Robot"; 55 homepage = "https://github.com/natekspencer/pylitterbot"; 56 changelog = "https://github.com/natekspencer/pylitterbot/releases/tag/v${version}"; 57 license = with licenses; [ mit ]; 58 maintainers = with maintainers; [ fab ]; 59 }; 60}