Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
996 B
Nix
49 lines
996 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|