@ -1,50 +1,20 @@
{ bcg729
{ bctoolbox
, bctoolbox
, bcunit
, belcard
, belcard
, belle-sip
, belle-sip
, belr
, belr
, bzrtp
, cairo
, cmake
, cmake
, cyrus_sasl
, doxygen
, doxygen
, fetchFromGitLab
, fetchFromGitLab
, ffmpeg
, gdk-pixbuf
, glib
, graphviz
, gtk2
, intltool
, jsoncpp
, jsoncpp
, libexosip
, libmatroska
, libnotify
, libosip
, libsoup
, libupnp
, libX11
, libxml2
, libxml2
, lime
, lime
, makeWrapper
, mbedtls
, mediastreamer
, mediastreamer
, openldap
, ortp
, pango
, pkg-config
, python3
, python3
, readline
, bc-soci
, bc-soci
, boost
, speex
, sqlite
, sqlite
, lib
, lib
, stdenv
, stdenv
, udev
, xercesc
, xercesc
, xsd
, zlib
} :
} :
stdenv . mkDerivation rec {
stdenv . mkDerivation rec {
@ -62,69 +32,31 @@ stdenv.mkDerivation rec {
patches = [ ./use-normal-jsoncpp.patch ] ;
patches = [ ./use-normal-jsoncpp.patch ] ;
# Do not build static libraries
cmakeFlags = [
cmakeFlags = [ " - D E N A B L E _ S T A T I C = N O " ] ;
" - D E N A B L E _ S T A T I C = N O " # Do not build static libraries
" - D E N A B L E _ U N I T _ T E S T S = N O " # Do not build test executables
] ;
# TODO: Not sure if all these inputs are actually needed. Most of them were
# defined when liblinphone and linphone-desktop weren't separated yet, so some
# of them might not be needed for liblinphone alone.
buildInputs = [
buildInputs = [
( python3 . withPackages ( ps : [ ps . pystache ps . six ] ) )
# Made by BC
# Made by BC
bcg729
bctoolbox
belcard
belcard
belle-sip
belle-sip
belr
bzrtp
lime
lime
mediastreamer
mediastreamer
ortp
# Vendored by BC
# Vendored by BC
bc-soci
bc-soci
# Vendored by BC but we use upstream, might cause problems
jsoncpp
libmatroska
cairo
cyrus_sasl
ffmpeg
gdk-pixbuf
glib
gtk2
libX11
libexosip
libnotify
libosip
libsoup
libupnp
libxml2
libxml2
mbedtls
( python3 . withPackages ( ps : [ ps . pystache ps . six ] ) )
openldap
pango
readline
boost
speex
sqlite
sqlite
udev
xercesc
xercesc
xsd
zlib
jsoncpp
] ;
] ;
nativeBuildInputs = [
nativeBuildInputs = [
# Made by BC
bcunit
cmake
cmake
doxygen
doxygen
graphviz
intltool
makeWrapper
pkg-config
] ;
] ;
strictDeps = true ;
strictDeps = true ;