Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 955 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchdarcs 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.1.1"; 18 disabled = isPy3k; 19 20 src = fetchdarcs { 21 url = http://devel.ag-projects.com/repositories/python-sipsimple; 22 rev = "release-${version}"; 23 sha256 = "0jdilm11f5aahxrzrkxrfx9sgjgkbla1r0wayc5dzd2wmjrdjyrg"; 24 }; 25 26 preConfigure = '' 27 chmod +x ./deps/pjsip/configure ./deps/pjsip/aconfigure 28 export LD=$CC 29 ''; 30 31 nativeBuildInputs = [ pkgs.pkgconfig ]; 32 buildInputs = with pkgs; [ alsaLib ffmpeg libv4l sqlite libvpx ]; 33 propagatedBuildInputs = [ cython pkgs.openssl dnspython dateutil xcaplib msrplib lxml python-otr ]; 34 35 meta = with stdenv.lib; { 36 description = "SIP SIMPLE implementation for Python"; 37 homepage = http://sipsimpleclient.org/; 38 license = licenses.gpl3; 39 maintainers = with maintainers; [ pSub ]; 40 }; 41 42}