system-config-printer: 1.5.9 → 1.5.11

This commit is contained in:
Jan Tojnar 2018-07-06 09:34:12 +02:00
parent e197fcfa4a
commit bcda220f4f
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, udev, intltool, pkgconfig, glib, xmlto, wrapGAppsHook
, makeWrapper, gtk3, docbook_xml_dtd_412, docbook_xsl
, libxml2, desktop-file-utils, libusb1, cups, gdk_pixbuf, pango, atk, libnotify
, gobjectIntrospection, libgnome-keyring3
, gobjectIntrospection, libsecret
, cups-filters
, pythonPackages
, withGUI ? true
@ -9,32 +9,36 @@
stdenv.mkDerivation rec {
name = "system-config-printer-${version}";
version = "1.5.9";
version = "1.5.11";
src = fetchurl {
url = "https://github.com/zdohnal/system-config-printer/releases/download/v${version}/${name}.tar.gz";
sha256 = "03bwlpsiqpxzcwd78a7rmwiww4jnqd7kl7il4kx78l1r57lasd2r";
url = "https://github.com/zdohnal/system-config-printer/releases/download/${version}/${name}.tar.xz";
sha256 = "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q";
};
patches = [ ./detect_serverbindir.patch ];
buildInputs =
[ intltool pkgconfig glib udev libusb1 cups xmlto
libxml2 docbook_xml_dtd_412 docbook_xsl desktop-file-utils
pythonPackages.python pythonPackages.wrapPython
libnotify gobjectIntrospection gdk_pixbuf pango atk
libgnome-keyring3
];
buildInputs = [
glib udev libusb1 cups
pythonPackages.python
libnotify gobjectIntrospection gdk_pixbuf pango atk
libsecret
];
nativeBuildInputs = [ wrapGAppsHook ];
nativeBuildInputs = [
intltool pkgconfig
xmlto libxml2 docbook_xml_dtd_412 docbook_xsl desktop-file-utils
pythonPackages.wrapPython
wrapGAppsHook
];
pythonPath = with pythonPackages; requiredPythonModules [ pycups pycurl dbus-python pygobject3 requests pycairo pysmbc ];
configureFlags =
[ "--with-udev-rules"
"--with-udevdir=$(out)/etc/udev"
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
];
configureFlags = [
"--with-udev-rules"
"--with-udevdir=$(out)/etc/udev"
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
];
stripDebugList = [ "bin" "lib" "etc/udev" ];