Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 setuptools, 5 pytestCheckHook, 6 fetchFromGitea, 7 gitUpdater, 8}: 9buildPythonPackage rec { 10 pname = "highctidh"; 11 version = "1.0.2025051200"; 12 pyproject = true; 13 14 src = fetchFromGitea { 15 domain = "codeberg.org"; 16 owner = "vula"; 17 repo = "highctidh"; 18 tag = "v${version}"; 19 hash = "sha256-wGJv9UHAFfCOpTrr8THVk0DC+JUtj3gYYOf6o3EaSqg="; 20 }; 21 22 sourceRoot = "${src.name}/src"; 23 24 build-system = [ 25 setuptools 26 ]; 27 28 nativeCheckInputs = [ 29 pytestCheckHook 30 ]; 31 32 pythonImportsCheck = [ 33 "highctidh" 34 ]; 35 36 passthru.updateScript = gitUpdater { 37 rev-prefix = "v"; 38 }; 39 40 meta = { 41 description = "Fork of high-ctidh as as a portable shared library with Python bindings"; 42 homepage = "https://codeberg.org/vula/highctidh"; 43 license = lib.licenses.publicDomain; 44 teams = with lib.teams; [ ngi ]; 45 maintainers = with lib.maintainers; [ 46 lorenzleutgeb 47 mightyiam 48 ]; 49 }; 50}