mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
python312Packages.uarray: unbreak, use new build system, adopt (#354604)
This commit is contained in:
@@ -2,14 +2,17 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
scikit-build-core,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
cmake,
|
||||
ninja,
|
||||
matchpy,
|
||||
numpy,
|
||||
astunparse,
|
||||
typing-extensions,
|
||||
pytest7CheckHook,
|
||||
pytest-cov,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -24,11 +27,15 @@ buildPythonPackage rec {
|
||||
hash = "sha256-q9lMU/xA+G2x38yZy3DxCpXTEmg1lZhZ8GFIHDIKE24=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
scikit-build-core
|
||||
setuptools
|
||||
setuptools-scm
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
dependencies = [
|
||||
astunparse
|
||||
@@ -38,8 +45,8 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest7CheckHook
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
# Tests must be run from outside the source directory
|
||||
@@ -58,6 +65,6 @@ buildPythonPackage rec {
|
||||
description = "Universal array library";
|
||||
homepage = "https://github.com/Quansight-Labs/uarray";
|
||||
license = licenses.bsd0;
|
||||
maintainers = [ ];
|
||||
maintainers = [ lib.maintainers.pbsds ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user