Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 44 lines 768 B view raw
1{ 2 beartype, 3 buildPythonPackage, 4 fetchFromGitHub, 5 lib, 6 poetry-core, 7 pydantic, 8 python, 9 rich, 10 tomli, 11}: 12buildPythonPackage rec { 13 pname = "corallium"; 14 version = "0.3.3"; 15 format = "pyproject"; 16 17 src = fetchFromGitHub { 18 owner = "KyleKing"; 19 repo = pname; 20 rev = version; 21 hash = "sha256-fZzm3o8EwegNG+sYn8lbPz60NMyA/OzGFUf/J/lbGbI="; 22 }; 23 24 build-system = [ 25 poetry-core 26 ]; 27 28 dependencies = 29 [ 30 beartype 31 pydantic 32 rich 33 ] 34 ++ lib.optionals (python.pythonOlder "3.11") [ 35 tomli 36 ]; 37 38 meta = with lib; { 39 description = "Shared functionality for calcipy-ecosystem"; 40 homepage = "https://corallium.kyleking.me"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ yajo ]; 43 }; 44}