3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/cmake-format/default.nix
2020-01-05 23:22:06 -08:00

33 lines
658 B
Nix

{ lib
, buildPythonApplication
, fetchPypi
, autopep8
, flake8
, jinja2
, pylint
, pyyaml
}:
buildPythonApplication rec {
pname = "cmake-format";
version = "0.6.5";
src = fetchPypi {
inherit version;
pname = "cmake_format";
sha256 = "0fzfczf66df81szp488zwdz6phx6lcq6wkb0dzpzq6ni39r7kvw8";
};
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;
};
}