python3Packages.cmake-build-extension: init at 0.6.1
This commit is contained in:
committed by
Fabian Affolter
parent
7315a33749
commit
f4b669e5d0
@@ -0,0 +1,47 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
gitpython,
|
||||
lib,
|
||||
ninja,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cmake-build-extension";
|
||||
version = "0.6.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "diegoferigo";
|
||||
repo = "cmake-build-extension";
|
||||
rev = "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 ];
|
||||
};
|
||||
}
|
||||
@@ -2522,6 +2522,8 @@ self: super: with self; {
|
||||
|
||||
cmake = callPackage ../development/python-modules/cmake { inherit (pkgs) cmake; };
|
||||
|
||||
cmake-build-extension = callPackage ../development/python-modules/cmake-build-extension { };
|
||||
|
||||
cmarkgfm = callPackage ../development/python-modules/cmarkgfm { };
|
||||
|
||||
cmd2 = callPackage ../development/python-modules/cmd2 { };
|
||||
|
||||
Reference in New Issue
Block a user