Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonApplication 3, fetchPypi 4, autopep8 5, flake8 6, jinja2 7, pylint 8, pyyaml 9, six 10}: 11 12buildPythonApplication rec { 13 pname = "cmake-format"; 14 version = "0.6.13"; 15 # The source distribution does not build because of missing files. 16 format = "wheel"; 17 18 src = fetchPypi { 19 inherit version format; 20 python = "py3"; 21 pname = "cmakelang"; 22 sha256 = "0kmggnfbv6bba75l3zfzqwk0swi90brjka307m2kcz2w35kr8jvn"; 23 }; 24 25 propagatedBuildInputs = [ autopep8 flake8 jinja2 pylint pyyaml six ]; 26 27 doCheck = false; 28 29 meta = with lib; { 30 description = "Source code formatter for cmake listfiles"; 31 homepage = "https://github.com/cheshirekow/cmake_format"; 32 license = licenses.gpl3; 33 maintainers = [ maintainers.tobim ]; 34 platforms = platforms.all; 35 }; 36}