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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,68 @@
{ lib
, stdenv
, fetchurl
, fetchFromGitHub
, autoreconfHook
, autoconf-archive
, cppunit
, curl
, libsigcxx
, libtool
, libtorrent
, ncurses
, openssl
, pkg-config
, xmlrpc_c
, zlib
}:
stdenv.mkDerivation rec {
pname = "rakshasa-rtorrent";
version = "0.9.8+date=2021-08-07";
src = fetchFromGitHub {
owner = "rakshasa";
repo = "rtorrent";
rev = "a6bc99bb821d86b3b0633552db3fbd0a22497657";
hash = "sha256-HTwAs8dfZVXfLRNiT6QpjKGnuahHfoMfYWqdKkedUL0=";
};
nativeBuildInputs = [
autoconf-archive
autoreconfHook
pkg-config
];
buildInputs = [
cppunit
curl
libsigcxx
libtool
libtorrent
ncurses
openssl
xmlrpc_c
zlib
];
configureFlags = [
"--with-xmlrpc-c"
"--with-posix-fallocate"
];
enableParallelBuilding = true;
postInstall = ''
mkdir -p $out/share/man/man1 $out/share/doc/rtorrent
mv doc/old/rtorrent.1 $out/share/man/man1/rtorrent.1
mv doc/rtorrent.rc $out/share/doc/rtorrent/rtorrent.rc
'';
meta = with lib; {
homepage = "https://rakshasa.github.io/rtorrent/";
description = "An ncurses client for libtorrent, ideal for use with screen, tmux, or dtach";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ebzzry codyopel ];
platforms = platforms.unix;
};
}

View file

@ -0,0 +1,48 @@
# Note: this is rakshasa's version of libtorrent, used mainly by rtorrent.
# *Do not* mistake it by libtorrent-rasterbar, used by Deluge, qbitttorent etc.
{ lib
, stdenv
, fetchFromGitHub
, autoconf-archive
, autoreconfHook
, cppunit
, libsigcxx
, openssl
, pkg-config
, zlib
}:
stdenv.mkDerivation rec {
pname = "rakshasa-libtorrent";
version = "0.13.8+date=2021-08-07";
src = fetchFromGitHub {
owner = "rakshasa";
repo = "libtorrent";
rev = "53596afc5fae275b3fb5753a4bb2a1a7f7cf6a51";
hash = "sha256-gyl/jfbptHz/gHkkVGWShhv1Z7o9fa9nJIz27U2A6wg=";
};
nativeBuildInputs = [
autoconf-archive
autoreconfHook
pkg-config
];
buildInputs = [
cppunit
libsigcxx
openssl
zlib
];
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://github.com/rakshasa/libtorrent";
description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ebzzry codyopel ];
platforms = platforms.unix;
};
}