Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
996 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, cmake, fetchFromGitHub, gitpython, ninja, setuptools, setuptools-scm,}:
buildPythonPackage rec { pname = "cmake-build-extension"; version = "0.6.1"; pyproject = true;
src = fetchFromGitHub { owner = "diegoferigo"; repo = "cmake-build-extension"; tag = "v${version}"; hash = "sha256-taAwxa7Sv+xc8xJRnNM6V7WPcL+TWZOkngwuqjAslzc="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ cmake ninja gitpython ];
dontUseCmakeConfigure = true;
pythonImportsCheck = [ "cmake_build_extension" ];
doPythonRuntimeDepsCheck = false;
meta = { description = "Setuptools extension to build and package CMake projects"; homepage = "https://github.com/diegoferigo/cmake-build-extension"; changelog = "https://github.com/diegoferigo/cmake-build-extension/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ scoder12 ]; };}