diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-12-12 16:34:38 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-12-12 16:34:38 +0100 |
commit | 8beea558696a225c7b31ce989c011ae0c952b81a (patch) | |
tree | fd369765bdba6305eb697aa8ad90b0182a4e6da2 /pkgs/tools/misc/system-config-printer | |
parent | 6a0288d14b2e48508bac4e4c3c8f45352842d938 (diff) | |
download | nixlib-8beea558696a225c7b31ce989c011ae0c952b81a.tar nixlib-8beea558696a225c7b31ce989c011ae0c952b81a.tar.gz nixlib-8beea558696a225c7b31ce989c011ae0c952b81a.tar.bz2 nixlib-8beea558696a225c7b31ce989c011ae0c952b81a.tar.lz nixlib-8beea558696a225c7b31ce989c011ae0c952b81a.tar.xz nixlib-8beea558696a225c7b31ce989c011ae0c952b81a.tar.zst nixlib-8beea558696a225c7b31ce989c011ae0c952b81a.zip |
system-config-printer: Update to 1.3.12
Fixes building against systemd. http://hydra.nixos.org/build/3469842
Diffstat (limited to 'pkgs/tools/misc/system-config-printer')
-rw-r--r-- | pkgs/tools/misc/system-config-printer/default.nix | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/pkgs/tools/misc/system-config-printer/default.nix b/pkgs/tools/misc/system-config-printer/default.nix index 8923637bbdbf..0f20a8ad9540 100644 --- a/pkgs/tools/misc/system-config-printer/default.nix +++ b/pkgs/tools/misc/system-config-printer/default.nix @@ -1,20 +1,20 @@ { stdenv, fetchurl, udev, intltool, pkgconfig, glib, xmlto , makeWrapper, pygobject, pygtk, docbook_xml_dtd_412, docbook_xsl -, pythonDBus, libxml2, desktop_file_utils, libusb, cups, pycups +, pythonDBus, libxml2, desktop_file_utils, libusb1, cups, pycups , pythonPackages , withGUI ? true }: stdenv.mkDerivation rec { - name = "${meta.name}-${meta.version}"; + name = "system-config-printer-1.3.12"; src = fetchurl { - url = "http://cyberelk.net/tim/data/${meta.name}/1.3/${name}.tar.xz"; - sha256 = "1d50rqgpyrzyrxwq3qhafzq9075qm2wxdrh1f1q7whlr0chxi3mw"; + url = "http://cyberelk.net/tim/data/system-config-printer/1.3/${name}.tar.xz"; + sha256 = "1cg9n75rg5l9vr1925n2g771kga33imikyl0mf70lww2sfgvs18r"; }; buildInputs = - [ intltool pkgconfig glib udev libusb cups xmlto + [ intltool pkgconfig glib udev libusb1 cups xmlto libxml2 docbook_xml_dtd_412 docbook_xsl desktop_file_utils pythonPackages.python pythonPackages.wrapPython ]; @@ -22,8 +22,11 @@ stdenv.mkDerivation rec { pythonPath = [ pythonDBus pycups pygobject ] ++ stdenv.lib.optionals withGUI [ pygtk pythonPackages.notify ]; - - configureFlags = "--with-udev-rules"; + + configureFlags = + [ "--with-udev-rules" + "--with-systemdsystemunitdir=$(out)/etc/systemd/systemd" + ]; postInstall = '' @@ -34,7 +37,6 @@ stdenv.mkDerivation rec { ''; meta = { - name = "system-config-printer"; - version = "1.3.4"; + homepage = http://cyberelk.net/tim/software/system-config-printer/; }; } |