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
48
pkgs/tools/networking/cbftp/default.nix
Normal file
48
pkgs/tools/networking/cbftp/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, ncurses
|
||||
, openssl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cbftp";
|
||||
version = "1173";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cbftp.eu/${pname}-r${version}.tar.gz";
|
||||
hash = "sha256-DE6fnLzWsx6Skz2LRJAaijjIqrYFB8/HPp45P5CcEc8=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
ncurses
|
||||
openssl
|
||||
];
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
makeFlags = lib.optional stdenv.isDarwin "OPTFLAGS=-O0";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D bin/* -t $out/bin/
|
||||
install -D API README -t $out/share/doc/${pname}/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://cbftp.eu/";
|
||||
description = " An advanced multi-purpose FTP/FXP client";
|
||||
longDescription = ''
|
||||
Cbftp is an advanced multi-purpose FTP/FXP client that focuses on
|
||||
efficient large-scale data spreading, while also supporting most regular
|
||||
FTP/FXP use cases in a modern way. It runs in a terminal and provides a
|
||||
semi-graphical user interface through ncurses.
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue