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
38
pkgs/tools/networking/lftp/default.nix
Normal file
38
pkgs/tools/networking/lftp/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, fetchurl, gnutls, pkg-config, readline, zlib, libidn2, gmp, libiconv, libunistring, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lftp";
|
||||
version = "4.9.2";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"https://lftp.yar.ru/ftp/${pname}-${version}.tar.xz"
|
||||
"https://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/${pname}-${version}.tar.xz"
|
||||
];
|
||||
sha256 = "03b7y0h3mf4jfq5y8zw6hv9v44z3n6i8hc1iswax96y3z7sc85y5";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ gnutls readline zlib libidn2 gmp libiconv libunistring gettext ];
|
||||
|
||||
hardeningDisable = lib.optional stdenv.isDarwin "format";
|
||||
|
||||
configureFlags = [
|
||||
"--with-readline=${readline.dev}"
|
||||
"--with-zlib=${zlib.dev}"
|
||||
"--without-expat"
|
||||
];
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A file transfer program supporting a number of network protocols";
|
||||
homepage = "https://lftp.yar.ru/";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue