Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 55 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchFromGitHub, setuptools, setuptools-scm, numpy, pytestCheckHook, hypothesis,}:
buildPythonPackage rec { pname = "array-api-strict"; version = "2.4"; pyproject = true;
src = fetchFromGitHub { owner = "data-apis"; repo = "array-api-strict"; tag = version; hash = "sha256-NofL9F3pQSKN9RpOlHPigLadIu5ELokwUuUMCZyhr3s="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools >= 61.0,<=75" "setuptools" '';
build-system = [ setuptools setuptools-scm ];
dependencies = [ numpy ];
nativeCheckInputs = [ pytestCheckHook hypothesis ];
pythonImportsCheck = [ "array_api_strict" ];
disabledTests = [ "test_disabled_extensions" "test_environment_variables" ];
meta = { homepage = "https://data-apis.org/array-api-strict"; changelog = "https://github.com/data-apis/array-api-strict/releases/tag/${version}"; description = "Strict, minimal implementation of the Python array API"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ berquist ]; };}