1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/cmake-format/default.nix

33 lines
658 B
Nix
Raw Normal View History

2019-06-28 08:12:47 +01:00
{ lib
, buildPythonApplication
, fetchPypi
, autopep8
, flake8
, jinja2
, pylint
, pyyaml
}:
buildPythonApplication rec {
pname = "cmake-format";
2020-01-06 07:22:06 +00:00
version = "0.6.5";
2019-06-28 08:12:47 +01:00
src = fetchPypi {
inherit version;
pname = "cmake_format";
2020-01-06 07:22:06 +00:00
sha256 = "0fzfczf66df81szp488zwdz6phx6lcq6wkb0dzpzq6ni39r7kvw8";
2019-06-28 08:12:47 +01:00
};
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;
};
}