35 lines
962 B
Nix
35 lines
962 B
Nix
{ stdenv, fetchurl, pythonPackages, pyqt4, cython, libvncserver, zlib, twisted
|
|
, gnutls, libvpx }:
|
|
|
|
pythonPackages.buildPythonPackage rec {
|
|
name = "blink-${version}";
|
|
version = "1.4.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.ag-projects.com/BlinkQt/${name}.tar.gz";
|
|
sha256 = "0vd4ky4djhrrlmfpz7g43bxjynhpql4d3s9jdirh21kc8d1bgayk";
|
|
};
|
|
|
|
patches = [ ./pythonpath.patch ];
|
|
postPatch = ''
|
|
sed -i 's|@out@|'"''${out}"'|g' blink/resources.py
|
|
'';
|
|
|
|
propagatedBuildInputs = with pythonPackages;[ pyqt4 cjson sipsimple twisted
|
|
];
|
|
|
|
buildInputs = [ cython zlib libvncserver libvpx ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/blink \
|
|
--prefix LD_LIBRARY_PATH ":" ${gnutls}/lib
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://icanblink.com/;
|
|
description = "A state of the art, easy to use SIP client";
|
|
platforms = platforms.linux;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|