7 buildPythonPackage rec {
9 inherit (cmake) version;
15 substituteInPlace "$sourceRoot/pyproject.toml" \
18 substituteInPlace "$sourceRoot/cmake/__init__.py" \
20 --subst-var-by CMAKE_BIN_DIR "${cmake}/bin"
23 inherit (cmake) setupHooks;
29 pythonImportsCheck = [
34 description = "CMake is an open-source, cross-platform family of tools designed to build, test and package software";
36 This is a stub of the cmake package on PyPI that uses the cmake program
37 provided by nixpkgs instead of downloading cmake from the web.
39 homepage = "https://github.com/scikit-build/cmake-python-distributions";
40 license = licenses.asl20;
41 maintainers = with maintainers; [ tjni ];