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
32
pkgs/development/tools/misc/cppi/default.nix
Normal file
32
pkgs/development/tools/misc/cppi/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ fetchurl, lib, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cppi";
|
||||
version = "1.18";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/${pname}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1jk42cjaggk71rimjnx3qpmb6hivps0917vl3z7wbxk3i2whb98j";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://savannah.gnu.org/projects/cppi/";
|
||||
|
||||
description = "A C preprocessor directive indenter";
|
||||
|
||||
longDescription =
|
||||
'' GNU cppi indents C preprocessor directives to reflect their nesting
|
||||
and ensure that there is exactly one space character between each #if,
|
||||
#elif, #define directive and the following token. The number of
|
||||
spaces between the `#' and the following directive must correspond
|
||||
to the level of nesting of that directive.
|
||||
'';
|
||||
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue