Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 43 lines 942 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, isPy3k 5, pkgs 6, cython 7, dnspython 8, dateutil 9, xcaplib 10, msrplib 11, lxml 12, python-otr 13}: 14 15buildPythonPackage rec { 16 pname = "sipsimple"; 17 version = "3.4.2"; 18 disabled = isPy3k; 19 20 src = fetchFromGitHub { 21 owner = "AGProjects"; 22 repo = "python-sipsimple"; 23 rev = "release-${version}"; 24 sha256 = "094xf343d6zjhg9jwbm3dr74zq264cyqnn22byvm2m88lnagmhmr"; 25 }; 26 27 preConfigure = '' 28 chmod +x ./deps/pjsip/configure ./deps/pjsip/aconfigure 29 export LD=$CC 30 ''; 31 32 nativeBuildInputs = [ pkgs.pkgconfig ]; 33 buildInputs = with pkgs; [ alsaLib ffmpeg libv4l sqlite libvpx ]; 34 propagatedBuildInputs = [ cython pkgs.openssl dnspython dateutil xcaplib msrplib lxml python-otr ]; 35 36 meta = with lib; { 37 description = "SIP SIMPLE implementation for Python"; 38 homepage = http://sipsimpleclient.org/; 39 license = licenses.gpl3; 40 maintainers = with maintainers; [ pSub ]; 41 }; 42 43}