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