uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
36
pkgs/development/tools/cmake-format/default.nix
Normal file
36
pkgs/development/tools/cmake-format/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, autopep8
|
||||
, flake8
|
||||
, jinja2
|
||||
, pylint
|
||||
, pyyaml
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "cmake-format";
|
||||
version = "0.6.13";
|
||||
# The source distribution does not build because of missing files.
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version format;
|
||||
python = "py3";
|
||||
pname = "cmakelang";
|
||||
sha256 = "0kmggnfbv6bba75l3zfzqwk0swi90brjka307m2kcz2w35kr8jvn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ autopep8 flake8 jinja2 pylint pyyaml six ];
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue