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
29
pkgs/tools/system/tre-command/default.nix
Normal file
29
pkgs/tools/system/tre-command/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ rustPlatform, fetchFromGitHub, lib, installShellFiles }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "tre-command";
|
||||
version = "0.3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dduan";
|
||||
repo = "tre";
|
||||
rev = "v${version}";
|
||||
sha256 = "1r84xzv3p0ml3wac2j7j5fkm7i93v2xvadb8f8al5wi57q39irj7";
|
||||
};
|
||||
|
||||
cargoSha256 = "1f7yhnbgccqmz8hpc1xdv97j53far6d5p5gqvq6xxaqq9irf9bgj";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
preFixup = ''
|
||||
installManPage manual/tre.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tree command, improved";
|
||||
homepage = "https://github.com/dduan/tre";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.dduan ];
|
||||
mainProgram = "tre";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue