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
|
|
@ -0,0 +1,43 @@
|
|||
{ lib, stdenv, fetchFromGitHub, check, cmake, pkg-config
|
||||
, libtoxcore, filter-audio, dbus, libvpx, libX11, openal, freetype, libv4l
|
||||
, libXrender, fontconfig, libXext, libXft, libsodium, libopus }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "utox";
|
||||
|
||||
version = "0.18.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "uTox";
|
||||
repo = "uTox";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-DxnolxUTn+CL6TbZHKLHOUMTHhtTSWufzzOTRpKjOwc=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
libtoxcore dbus libvpx libX11 openal freetype
|
||||
libv4l libXrender fontconfig libXext libXft filter-audio
|
||||
libsodium libopus
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake pkg-config
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DENABLE_AUTOUPDATE=OFF"
|
||||
"-DENABLE_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||
];
|
||||
|
||||
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
||||
checkInputs = [ check ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight Tox client";
|
||||
homepage = "https://github.com/uTox/uTox";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue