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
73 lines
1.2 KiB
Nix
73 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
libxml2,
|
|
libsndfile,
|
|
file,
|
|
readline,
|
|
bison,
|
|
flex,
|
|
ucommon,
|
|
ccrtp,
|
|
qtbase,
|
|
qttools,
|
|
qtquickcontrols2,
|
|
alsa-lib,
|
|
speex,
|
|
ilbc,
|
|
mkDerivation,
|
|
bcg729,
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "twinkle";
|
|
version = "unstable-2024-20-11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LubosD";
|
|
repo = "twinkle";
|
|
rev = "e067dcba28f4e2acd7f71b875fc4168e9706aaaa";
|
|
hash = "sha256-3YtZwP/ugWOSfUa4uaEAEEsk9i5j93eLt5lHgAu5qqI=";
|
|
};
|
|
|
|
buildInputs = [
|
|
libxml2
|
|
file # libmagic
|
|
libsndfile
|
|
readline
|
|
ucommon
|
|
ccrtp
|
|
qtbase
|
|
qttools
|
|
qtquickcontrols2
|
|
alsa-lib
|
|
speex
|
|
ilbc
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
bison
|
|
flex
|
|
bcg729
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DWITH_G729=On"
|
|
"-DWITH_SPEEX=On"
|
|
"-DWITH_ILBC=On"
|
|
"-DHAVE_LIBATOMIC=atomic"
|
|
# "-DWITH_DIAMONDCARD=On" seems ancient and broken
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/LubosD/twinkle/blob/${version}/NEWS";
|
|
description = "SIP-based VoIP client";
|
|
homepage = "http://twinkle.dolezel.info/";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = [ lib.maintainers.mkg20001 ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|