cmake-format: init at 0.6.0
This commit is contained in:
parent
f3bc4373dc
commit
a7cd3c2d82
32
pkgs/development/tools/cmake-format/default.nix
Normal file
32
pkgs/development/tools/cmake-format/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, autopep8
|
||||
, flake8
|
||||
, jinja2
|
||||
, pylint
|
||||
, pyyaml
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "cmake-format";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "cmake_format";
|
||||
sha256 = "0sip832bxsvnm7fhqhx49d53g2s7swdk3fhyhlglm2shgj89b5zw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ autopep8 flake8 jinja2 pylint pyyaml ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Source code formatter for cmake listfiles";
|
||||
homepage = "https://github.com/cheshirekow/cmake_format";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.tobim ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -9540,6 +9540,8 @@ in
|
|||
cmakeWithGui = cmakeCurses.override { withQt5 = true; };
|
||||
cmakeWithQt4Gui = cmakeCurses.override { useQt4 = true; };
|
||||
|
||||
cmake-format = python3Packages.callPackage ../development/tools/cmake-format { };
|
||||
|
||||
# Does not actually depend on Qt 5
|
||||
inherit (kdeFrameworks) extra-cmake-modules kapidox kdoctools;
|
||||
|
||||
|
|
Loading…
Reference in a new issue