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,21 @@
{ lib, stdenv, fetchurl, pkg-config, telepathy-glib, farstream, dbus-glib }:
stdenv.mkDerivation rec {
name = "${pname}-0.6.2";
pname = "telepathy-farstream";
src = fetchurl {
url = "https://telepathy.freedesktop.org/releases/${pname}/${name}.tar.gz";
sha256 = "02ky12bb92prr5f6xmvmfq4yz2lj33li6nj4829a98hk5pr9k83g";
};
propagatedBuildInputs = [ dbus-glib telepathy-glib farstream ];
nativeBuildInputs = [ pkg-config ];
meta = with lib; {
description = "GObject-based C library that uses Telepathy GLib, Farstream and GStreamer to handle the media streaming part of channels of type Call";
homepage = "https://telepathy.freedesktop.org/wiki/Components/Telepathy-Farstream/";
platforms = platforms.linux;
license = licenses.lgpl21;
};
}

View file

@ -0,0 +1,59 @@
{ lib
, stdenv
, fetchurl
, dbus-glib
, glib
, python3
, pkg-config
, libxslt
, gobject-introspection
, vala
, glibcLocales
}:
stdenv.mkDerivation rec {
pname = "telepathy-glib";
version = "0.24.2";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "${meta.homepage}/releases/telepathy-glib/${pname}-${version}.tar.gz";
sha256 = "sKN013HN0IESXzjDq9B5ZXZCMBxxpUPVVeK/IZGSc/A=";
};
nativeBuildInputs = [
pkg-config
libxslt
gobject-introspection
vala
];
buildInputs = [
glibcLocales
python3
];
propagatedBuildInputs = [
dbus-glib
glib
];
configureFlags = [
"--enable-vala-bindings"
];
LC_ALL = "en_US.UTF-8";
enableParallelBuilding = true;
preConfigure = ''
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
'';
meta = with lib; {
homepage = "https://telepathy.freedesktop.org";
platforms = platforms.unix;
license = with licenses; [ bsd2 bsd3 lgpl21Plus ];
};
}

View file

@ -0,0 +1,45 @@
{ lib
, stdenv
, fetchurl
, cmake
, qtbase
, pkg-config
, python3Packages
, dbus-glib
, dbus
, telepathy-farstream
, telepathy-glib
}:
let
inherit (python3Packages) python dbus-python;
in
stdenv.mkDerivation rec {
pname = "telepathy-qt";
version = "0.9.8";
src = fetchurl {
url = "https://telepathy.freedesktop.org/releases/telepathy-qt/telepathy-qt-${version}.tar.gz";
sha256 = "bf8e2a09060addb80475a4938105b9b41d9e6837999b7a00e5351783857e18ad";
};
nativeBuildInputs = [ cmake pkg-config python ];
propagatedBuildInputs = [ qtbase telepathy-farstream telepathy-glib ];
buildInputs = [ dbus-glib ];
checkInputs = [ dbus.daemon dbus-python ];
# No point in building tests if they are not run
# On 0.9.7, they do not even build with QT4
cmakeFlags = lib.optional (!doCheck) "-DENABLE_TESTS=OFF";
dontWrapQtApps = true;
doCheck = false; # giving up for now
meta = with lib; {
description = "Telepathy Qt bindings";
homepage = "https://telepathy.freedesktop.org/components/telepathy-qt/";
license = licenses.lgpl21;
platforms = platforms.linux;
};
}