Merge pull request #74767 from mkg20001/pkg/twinkle

twinkle: init at 1.10.2
This commit is contained in:
Timo Kaufmann 2019-12-07 17:39:09 +01:00 committed by GitHub
commit 07266e20b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 90 additions and 0 deletions

View file

@ -4546,6 +4546,16 @@
githubId = 22477669;
name = "Mark K Gardner";
};
mkg20001 = {
email = "mkg20001+nix@gmail.com";
github = "mkg20001";
githubId = 7735145;
name = "Maciej Krüger";
keys = [{
longkeyid = "rsa4096/0x0D948CE19CF49C5F";
fingerprint = "E90C BA34 55B3 6236 740C 038F 0D94 8CE1 9CF4 9C5F";
}];
};
mlieberman85 = {
email = "mlieberman85@gmail.com";
github = "mlieberman85";

View file

@ -0,0 +1,78 @@
{ stdenv
, fetchFromGitHub
, cmake
, libxml2
, libsndfile
, file
, readline
, bison
, flex
, ucommon
, ccrtp
, qtbase
, qttools
, qtquickcontrols2
, alsaLib
, speex
, ilbc
, fetchurl
, mkDerivation
, bcg729
}:
mkDerivation rec {
pname = "twinkle";
version = "1.10.2";
src = fetchFromGitHub {
repo = pname;
owner = "LubosD";
rev = "v${version}";
sha256 = "0s0gi03xwvzp02ah4q6j33r9jx9nbayr6dxlg2ck9pwbay1nq1hx";
};
buildInputs = [
libxml2
file # libmagic
libsndfile
readline
ucommon
ccrtp
qtbase
qttools
qtquickcontrols2
alsaLib
speex
ilbc
];
patches = [
(fetchurl { # https://github.com/LubosD/twinkle/pull/152 patch for bcg729 1.0.2+
url = "https://github.com/LubosD/twinkle/compare/05082ae12051821b1d969e6672d9e4e5afe1bc07...7a6c533cda387652b5b4cb2a867be1a18585890c.patch";
sha256 = "39fc6cef3e88cfca8db44612b2d082fb618027b0f99509138d3c0d2777a494c2";
})
];
nativeBuildInputs = [
cmake
bison
flex
bcg729
];
cmakeFlags = [
"-DWITH_G729=On"
"-DWITH_SPEEX=On"
"-DWITH_ILBC=On"
/* "-DWITH_DIAMONDCARD=On" seems ancient and broken */
];
meta = with stdenv.lib; {
changelog = "https://github.com/LubosD/twinkle/blob/${version}/NEWS";
description = "A SIP-based VoIP client";
homepage = "http://twinkle.dolezel.info/";
license = licenses.gpl2Plus;
maintainers = [ maintainers.mkg20001 ];
platforms = platforms.linux;
};
}

View file

@ -21595,6 +21595,8 @@ in
ulauncher = callPackage ../applications/misc/ulauncher { };
twinkle = qt5.callPackage ../applications/networking/instant-messengers/twinkle { };
umurmur = callPackage ../applications/networking/umurmur { };
udocker = pythonPackages.callPackage ../tools/virtualization/udocker { };