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