3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/sipsimple/default.nix

44 lines
942 B
Nix
Raw Normal View History

2019-08-20 21:14:55 +01:00
{ lib
, buildPythonPackage
2019-08-20 21:14:55 +01:00
, fetchFromGitHub
, isPy3k
, pkgs
, cython
, dnspython
, dateutil
, xcaplib
, msrplib
, lxml
, python-otr
}:
buildPythonPackage rec {
pname = "sipsimple";
2019-08-20 21:14:55 +01:00
version = "3.4.2";
disabled = isPy3k;
2019-08-20 21:14:55 +01:00
src = fetchFromGitHub {
owner = "AGProjects";
repo = "python-sipsimple";
rev = "release-${version}";
2019-08-20 21:14:55 +01:00
sha256 = "094xf343d6zjhg9jwbm3dr74zq264cyqnn22byvm2m88lnagmhmr";
};
preConfigure = ''
chmod +x ./deps/pjsip/configure ./deps/pjsip/aconfigure
export LD=$CC
'';
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = with pkgs; [ alsaLib ffmpeg libv4l sqlite libvpx ];
propagatedBuildInputs = [ cython pkgs.openssl dnspython dateutil xcaplib msrplib lxml python-otr ];
2019-08-20 21:14:55 +01:00
meta = with lib; {
description = "SIP SIMPLE implementation for Python";
homepage = http://sipsimpleclient.org/;
license = licenses.gpl3;
maintainers = with maintainers; [ pSub ];
};
}