Files
nixpkgs/pkgs/development/python-modules/extension-helpers/default.nix
T
Martin Weinelt b79da2786f Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/python-modules/bundlewrap/default.nix
	pkgs/development/python-modules/coverage/default.nix
	pkgs/development/python-modules/h5netcdf/default.nix
	pkgs/development/python-modules/hypothesis/default.nix
	pkgs/development/python-modules/numba/default.nix
	pkgs/development/python-modules/optype/default.nix
	pkgs/development/python-modules/setuptools-git-versioning/default.nix
	pkgs/development/python-modules/sphinx/default.nix
2026-02-15 16:17:41 +01:00

62 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
build,
cython,
findutils,
pip,
pytestCheckHook,
setuptools-scm,
setuptools,
wheel,
}:
buildPythonPackage rec {
pname = "extension-helpers";
version = "1.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "astropy";
repo = "extension-helpers";
tag = "v${version}";
hash = "sha256-coSgaPoz93CqJRb65xYs1sNOwoGhcxWGJF7Jc9N2W1I=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ setuptools ];
nativeCheckInputs = [
build
cython
findutils
pip
pytestCheckHook
wheel
];
pythonImportsCheck = [ "extension_helpers" ];
enabledTestPaths = [ "extension_helpers/tests" ];
disabledTests = [
# https://github.com/astropy/extension-helpers/issues/43
"test_write_if_different"
# ValueError: Unrecognized abi version for limited API: invalid
"test_limited_api_invalid_abi"
];
meta = {
description = "Helpers to assist with building Python packages with compiled C/Cython extensions";
homepage = "https://github.com/astropy/extension-helpers";
changelog = "https://github.com/astropy/extension-helpers/blob/${src.tag}/CHANGES.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}