Files
nixpkgs/pkgs/development/python-modules/highctidh/default.nix
Ben Siraphob f82dc8ebe9 pkgs/development: fix typos
Assisted-by: Claude Code (claude-opus-5)
2026-08-02 15:56:57 -07:00

50 lines
934 B
Nix

{
lib,
buildPythonPackage,
setuptools,
pytestCheckHook,
fetchFromCodeberg,
gitUpdater,
}:
buildPythonPackage rec {
pname = "highctidh";
version = "1.0.2025051200";
pyproject = true;
src = fetchFromCodeberg {
owner = "vula";
repo = "highctidh";
tag = "v${version}";
hash = "sha256-wGJv9UHAFfCOpTrr8THVk0DC+JUtj3gYYOf6o3EaSqg=";
};
sourceRoot = "${src.name}/src";
build-system = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"highctidh"
];
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = {
description = "Fork of high-ctidh as a portable shared library with Python bindings";
homepage = "https://codeberg.org/vula/highctidh";
license = lib.licenses.publicDomain;
teams = with lib.teams; [ ngi ];
maintainers = with lib.maintainers; [
lorenzleutgeb
mightyiam
];
};
}