system-config-printer: 1.5.9 → 1.5.11

+21 -17
+21 -17
pkgs/tools/misc/system-config-printer/default.nix
··· 1 { stdenv, fetchurl, udev, intltool, pkgconfig, glib, xmlto, wrapGAppsHook 2 , makeWrapper, gtk3, docbook_xml_dtd_412, docbook_xsl 3 , libxml2, desktop-file-utils, libusb1, cups, gdk_pixbuf, pango, atk, libnotify 4 - , gobjectIntrospection, libgnome-keyring3 5 , cups-filters 6 , pythonPackages 7 , withGUI ? true ··· 9 10 stdenv.mkDerivation rec { 11 name = "system-config-printer-${version}"; 12 - version = "1.5.9"; 13 14 src = fetchurl { 15 - url = "https://github.com/zdohnal/system-config-printer/releases/download/v${version}/${name}.tar.gz"; 16 - sha256 = "03bwlpsiqpxzcwd78a7rmwiww4jnqd7kl7il4kx78l1r57lasd2r"; 17 }; 18 19 patches = [ ./detect_serverbindir.patch ]; 20 21 - buildInputs = 22 - [ intltool pkgconfig glib udev libusb1 cups xmlto 23 - libxml2 docbook_xml_dtd_412 docbook_xsl desktop-file-utils 24 - pythonPackages.python pythonPackages.wrapPython 25 - libnotify gobjectIntrospection gdk_pixbuf pango atk 26 - libgnome-keyring3 27 - ]; 28 29 - nativeBuildInputs = [ wrapGAppsHook ]; 30 31 pythonPath = with pythonPackages; requiredPythonModules [ pycups pycurl dbus-python pygobject3 requests pycairo pysmbc ]; 32 33 - configureFlags = 34 - [ "--with-udev-rules" 35 - "--with-udevdir=$(out)/etc/udev" 36 - "--with-systemdsystemunitdir=$(out)/etc/systemd/system" 37 - ]; 38 39 stripDebugList = [ "bin" "lib" "etc/udev" ]; 40
··· 1 { stdenv, fetchurl, udev, intltool, pkgconfig, glib, xmlto, wrapGAppsHook 2 , makeWrapper, gtk3, docbook_xml_dtd_412, docbook_xsl 3 , libxml2, desktop-file-utils, libusb1, cups, gdk_pixbuf, pango, atk, libnotify 4 + , gobjectIntrospection, libsecret 5 , cups-filters 6 , pythonPackages 7 , withGUI ? true ··· 9 10 stdenv.mkDerivation rec { 11 name = "system-config-printer-${version}"; 12 + version = "1.5.11"; 13 14 src = fetchurl { 15 + url = "https://github.com/zdohnal/system-config-printer/releases/download/${version}/${name}.tar.xz"; 16 + sha256 = "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q"; 17 }; 18 19 patches = [ ./detect_serverbindir.patch ]; 20 21 + buildInputs = [ 22 + glib udev libusb1 cups 23 + pythonPackages.python 24 + libnotify gobjectIntrospection gdk_pixbuf pango atk 25 + libsecret 26 + ]; 27 28 + nativeBuildInputs = [ 29 + intltool pkgconfig 30 + xmlto libxml2 docbook_xml_dtd_412 docbook_xsl desktop-file-utils 31 + pythonPackages.wrapPython 32 + wrapGAppsHook 33 + ]; 34 35 pythonPath = with pythonPackages; requiredPythonModules [ pycups pycurl dbus-python pygobject3 requests pycairo pysmbc ]; 36 37 + configureFlags = [ 38 + "--with-udev-rules" 39 + "--with-udevdir=$(out)/etc/udev" 40 + "--with-systemdsystemunitdir=$(out)/etc/systemd/system" 41 + ]; 42 43 stripDebugList = [ "bin" "lib" "etc/udev" ]; 44