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