gtk-vnc: 0.7.0 → 0.9.0
This commit is contained in:
parent
05992b9b1b
commit
c59f165771
@ -1,49 +1,42 @@
|
|||||||
{ stdenv, fetchurl, gobjectIntrospection
|
{ stdenv, fetchurl, gobjectIntrospection
|
||||||
, gnutls, cairo, libtool, glib, pkgconfig
|
, gnutls, cairo, libtool, glib, pkgconfig
|
||||||
, libffi, cyrus_sasl, intltool, perl, perlPackages, libpulseaudio
|
, cyrus_sasl, intltool, libpulseaudio
|
||||||
, libgcrypt, gtk3, vala_0_32
|
, libgcrypt, gtk3, vala, gnome3
|
||||||
, libogg, libgpgerror, pythonPackages }:
|
, python3 }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
inherit (pythonPackages) pygobject3 python;
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "gtk-vnc-${version}";
|
name = "gtk-vnc-${version}";
|
||||||
version = "0.7.0";
|
version = "0.9.0";
|
||||||
|
|
||||||
|
outputs = [ "out" "bin" "man" "dev" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gtk-vnc/${stdenv.lib.strings.substring 0 3 version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/gtk-vnc/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||||
sha256 = "0gj8dpy3sj4dp810gy67spzh5f0jd8aqg69clcwqjcskj1yawbiw";
|
sha256 = "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [
|
||||||
|
python3 pkgconfig intltool libtool gobjectIntrospection vala
|
||||||
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
python gnutls cairo libtool glib libffi libgcrypt
|
gnutls cairo glib libgcrypt cyrus_sasl libpulseaudio gtk3
|
||||||
intltool cyrus_sasl libpulseaudio perl perlPackages.TextCSV
|
|
||||||
gobjectIntrospection libogg libgpgerror
|
|
||||||
gtk3 vala_0_32 pygobject3
|
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-fstack-protector-all";
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-python"
|
|
||||||
"--with-examples"
|
"--with-examples"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Fix broken .la files
|
passthru = {
|
||||||
preFixup = ''
|
updateScript = gnome3.updateScript {
|
||||||
sed 's,-lgpg-error,-L${libgpgerror.out}/lib -lgpg-error,' -i $out/lib/*.la
|
packageName = "gtk-vnc";
|
||||||
'';
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A GTK VNC widget";
|
description = "A GTK VNC widget";
|
||||||
|
homepage = https://wiki.gnome.org/Projects/gtk-vnc;
|
||||||
|
license = licenses.lgpl21;
|
||||||
maintainers = with maintainers; [ raskin offline ];
|
maintainers = with maintainers; [ raskin offline ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
license = licenses.lgpl21;
|
|
||||||
};
|
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user