Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 1.1 kB view raw
1{ lib 2, aiohttp 3, aioresponses 4, buildPythonPackage 5, click 6, fetchFromGitHub 7, pydantic 8, poetry-core 9, pytestCheckHook 10, pythonOlder 11, yarl 12}: 13 14buildPythonPackage rec { 15 pname = "aiortm"; 16 version = "0.6.3"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.9"; 20 21 src = fetchFromGitHub { 22 owner = "MartinHjelmare"; 23 repo = pname; 24 rev = "v${version}"; 25 hash = "sha256-9Ny1Xby2e1lyrDTZLd6UVASx8/kwjsq4ogMTSKryQqg="; 26 }; 27 28 nativeBuildInputs = [ 29 poetry-core 30 ]; 31 32 propagatedBuildInputs = [ 33 aiohttp 34 click 35 pydantic 36 yarl 37 ]; 38 39 nativeCheckInputs = [ 40 aioresponses 41 pytestCheckHook 42 ]; 43 44 postPatch = '' 45 substituteInPlace pyproject.toml \ 46 --replace " --cov=aiortm --cov-report=term-missing:skip-covered" "" 47 ''; 48 49 pythonImportsCheck = [ 50 "aiortm" 51 ]; 52 53 meta = with lib; { 54 description = "Library for the Remember the Milk API"; 55 homepage = "https://github.com/MartinHjelmare/aiortm"; 56 changelog = "https://github.com/MartinHjelmare/aiortm/blob/v${version}/CHANGELOG.md"; 57 license = with licenses; [ asl20 ]; 58 maintainers = with maintainers; [ fab ]; 59 }; 60}