nixpkgs/pkgs/development/tools/cmake-format/default.nix

33 lines
658 B
Nix
Raw Normal View History

2019-06-28 00:12:47 -07:00
{ lib
, buildPythonApplication
, fetchPypi
, autopep8
, flake8
, jinja2
, pylint
, pyyaml
}:
buildPythonApplication rec {
pname = "cmake-format";
2019-12-14 14:02:24 -08:00
version = "0.6.3";
2019-06-28 00:12:47 -07:00
src = fetchPypi {
inherit version;
pname = "cmake_format";
2019-12-14 14:02:24 -08:00
sha256 = "12fsgmqimc09qhkrqzi5n5qq3rigkagymn0cx6ayn2qglh8pwknw";
2019-06-28 00:12:47 -07: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;
};
}