2014-05-16 21:46:03 +01:00
|
|
|
{ stdenv, fetchurl, pythonPackages, pyqt4, cython, libvncserver, zlib, twisted, gnutls }:
|
|
|
|
|
|
|
|
pythonPackages.buildPythonPackage rec {
|
|
|
|
name = "blink-${version}";
|
2015-04-30 08:49:45 +01:00
|
|
|
version = "1.3.0";
|
2014-05-16 21:46:03 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.ag-projects.com/BlinkQt/${name}.tar.gz";
|
2015-04-30 08:49:45 +01:00
|
|
|
sha256 = "388a0ca72ad99087cd87b78a4c449f9c079117920bfc50d7843853b8f942d045";
|
2014-05-16 21:46:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./pythonpath.patch ];
|
2015-04-08 05:57:48 +01:00
|
|
|
postPatch = ''
|
|
|
|
sed -i 's|@out@|'"''${out}"'|g' blink/resources.py
|
|
|
|
'';
|
2014-05-16 21:46:03 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyqt4 pythonPackages.cjson pythonPackages.sipsimple twisted ];
|
|
|
|
|
|
|
|
buildInputs = [ cython zlib libvncserver ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/blink \
|
|
|
|
--prefix LD_LIBRARY_PATH : ${gnutls}/lib
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://icanblink.com/;
|
|
|
|
description = "A state of the art, easy to use SIP client";
|
|
|
|
};
|
|
|
|
}
|