Files
nixpkgs/pkgs/by-name/ut/utox/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

76 lines
1.2 KiB
Nix

{
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";
tag = "v${version}";
hash = "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.buildPlatform.canExecute stdenv.hostPlatform;
nativeCheckInputs = [ check ];
meta = with lib; {
description = "Lightweight Tox client";
mainProgram = "utox";
homepage = "https://github.com/uTox/uTox";
license = licenses.gpl3;
maintainers = [ ];
platforms = platforms.all;
};
}