mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
01d4e2fe33
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that used `ffmpeg` without requiring a specific version now use ffmpeg_3 explicitly so they shouldn't change.
47 lines
1.1 KiB
Nix
47 lines
1.1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, isPy3k
|
|
, pkgs
|
|
, cython
|
|
, dnspython
|
|
, dateutil
|
|
, xcaplib
|
|
, msrplib
|
|
, lxml
|
|
, python-otr
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sipsimple";
|
|
version = "3.4.2";
|
|
disabled = isPy3k;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AGProjects";
|
|
repo = "python-sipsimple";
|
|
rev = "release-${version}";
|
|
sha256 = "094xf343d6zjhg9jwbm3dr74zq264cyqnn22byvm2m88lnagmhmr";
|
|
};
|
|
|
|
preConfigure = ''
|
|
# TODO: Executable bits are set by upstream with the next release
|
|
# see AGProjects/python-sipsimple/commit/a36d66cf758afb43c59f7ac48b193c4148eb1848
|
|
chmod +x ./deps/pjsip/configure ./deps/pjsip/aconfigure
|
|
|
|
export LD=$CC
|
|
'';
|
|
|
|
nativeBuildInputs = [ pkgs.pkgconfig ];
|
|
buildInputs = with pkgs; [ alsaLib ffmpeg_3 libv4l sqlite libvpx ];
|
|
propagatedBuildInputs = [ cython pkgs.openssl dnspython dateutil xcaplib msrplib lxml python-otr ];
|
|
|
|
meta = with lib; {
|
|
description = "SIP SIMPLE implementation for Python";
|
|
homepage = "https://sipsimpleclient.org/";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
|
|
}
|