pythonPackages.sipsimple: refactor move to python-modules
This commit is contained in:
parent
43584c3161
commit
ab08ef1f4d
41
pkgs/development/python-modules/sipsimple/default.nix
Normal file
41
pkgs/development/python-modules/sipsimple/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchdarcs
|
||||
, isPy3k
|
||||
, pkgs
|
||||
, cython
|
||||
, dnspython
|
||||
, dateutil
|
||||
, xcaplib
|
||||
, msrplib
|
||||
, lxml
|
||||
, python-otr
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sipsimple";
|
||||
version = "3.1.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchdarcs {
|
||||
url = http://devel.ag-projects.com/repositories/python-sipsimple;
|
||||
rev = "release-${version}";
|
||||
sha256 = "0jdilm11f5aahxrzrkxrfx9sgjgkbla1r0wayc5dzd2wmjrdjyrg";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
chmod +x ./deps/pjsip/configure ./deps/pjsip/aconfigure
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkgs.pkgconfig ];
|
||||
buildInputs = with pkgs; [ alsaLib ffmpeg libv4l sqlite libvpx ];
|
||||
propagatedBuildInputs = [ cython pkgs.openssl dnspython dateutil xcaplib msrplib lxml python-otr ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SIP SIMPLE implementation for Python";
|
||||
homepage = http://sipsimpleclient.org/;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
|
||||
}
|
@ -3835,33 +3835,7 @@ in {
|
||||
|
||||
sh = callPackage ../development/python-modules/sh { };
|
||||
|
||||
sipsimple = buildPythonPackage rec {
|
||||
name = "sipsimple-${version}";
|
||||
version = "3.1.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchdarcs {
|
||||
url = http://devel.ag-projects.com/repositories/python-sipsimple;
|
||||
rev = "release-${version}";
|
||||
sha256 = "0jdilm11f5aahxrzrkxrfx9sgjgkbla1r0wayc5dzd2wmjrdjyrg";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
chmod +x ./deps/pjsip/configure ./deps/pjsip/aconfigure
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkgs.pkgconfig ];
|
||||
buildInputs = with pkgs; [ alsaLib ffmpeg libv4l sqlite libvpx ];
|
||||
propagatedBuildInputs = with self; [ cython pkgs.openssl dnspython dateutil xcaplib msrplib lxml python-otr ];
|
||||
|
||||
meta = {
|
||||
description = "SIP SIMPLE implementation for Python";
|
||||
homepage = http://sipsimpleclient.org/;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
};
|
||||
|
||||
sipsimple = callPackage ../development/python-modules/sipsimple { };
|
||||
|
||||
six = callPackage ../development/python-modules/six { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user