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/editorconfig-checker/default.nix
Normal file
32
pkgs/development/tools/misc/editorconfig-checker/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "editorconfig-checker";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "editorconfig-checker";
|
||||
repo = "editorconfig-checker";
|
||||
rev = version;
|
||||
sha256 = "sha256-uP+AgQO1k9fic7r0pOKqO5lUHKEf7Pwaw2U2a6ghzz0=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-SrBrYyExeDHXhezvtfGLtm8NM1eX4/8kzwUICQLZDjo=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
ldflags = [ "-X main.version=${version}" ];
|
||||
|
||||
postInstall = ''
|
||||
installManPage docs/editorconfig-checker.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to verify that your files are in harmony with your .editorconfig";
|
||||
homepage = "https://editorconfig-checker.github.io/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ uri-canva zowoq ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue