2015-07-10 16:53:04 +00:00
|
|
|
{ stdenv, fetchurl, pythonPackages, pyqt4, cython, libvncserver, zlib, twisted
|
|
|
|
, gnutls, libvpx }:
|
2014-05-16 20:46:03 +00:00
|
|
|
|
|
|
|
pythonPackages.buildPythonPackage rec {
|
|
|
|
name = "blink-${version}";
|
2015-09-05 12:52:24 +00:00
|
|
|
version = "1.4.1";
|
2014-05-16 20:46:03 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.ag-projects.com/BlinkQt/${name}.tar.gz";
|
2015-09-05 12:52:24 +00:00
|
|
|
sha256 = "0lpc3gm0hk55m7i2hlmk2p76akcfvnqxg0hyamfhha90nv6fk7sf";
|
2014-05-16 20:46:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./pythonpath.patch ];
|
2015-04-08 04:57:48 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -i 's|@out@|'"''${out}"'|g' blink/resources.py
|
|
|
|
'';
|
2014-05-16 20:46:03 +00:00
|
|
|
|
2015-07-10 16:53:04 +00:00
|
|
|
propagatedBuildInputs = with pythonPackages;[ pyqt4 cjson sipsimple twisted
|
|
|
|
];
|
2014-05-16 20:46:03 +00:00
|
|
|
|
2015-07-10 16:53:04 +00:00
|
|
|
buildInputs = [ cython zlib libvncserver libvpx ];
|
2014-05-16 20:46:03 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/blink \
|
2015-10-05 09:07:54 +00:00
|
|
|
--prefix LD_LIBRARY_PATH ":" ${gnutls.lib}/lib
|
2014-05-16 20:46:03 +00:00
|
|
|
'';
|
|
|
|
|
2015-07-10 16:53:04 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-05-16 20:46:03 +00:00
|
|
|
homepage = http://icanblink.com/;
|
|
|
|
description = "A state of the art, easy to use SIP client";
|
2015-07-10 16:53:04 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2014-05-16 20:46:03 +00:00
|
|
|
};
|
|
|
|
}
|