mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
33 lines
659 B
Nix
33 lines
659 B
Nix
{ lib
|
|
, buildPythonApplication
|
|
, fetchPypi
|
|
, autopep8
|
|
, flake8
|
|
, jinja2
|
|
, pylint
|
|
, pyyaml
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "cmake-format";
|
|
version = "0.6.10";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "cmake_format";
|
|
sha256 = "14ypplkjah4hcb1ad8978xip4vvzxy1nkysvyi1wn9b24cbfzw42";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|