mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
* Update system-config-printer to 1.3.4.
svn path=/nixpkgs/branches/kde-4.7/; revision=27896
This commit is contained in:
parent
5a03576cb4
commit
f9320cb33a
@ -1,27 +1,38 @@
|
|||||||
{stdenv, fetchurl, udev, intltool, python, pkgconfig, glib, xmlto,
|
{ stdenv, fetchurl, udev, intltool, pkgconfig, glib, xmlto
|
||||||
makeWrapper, pygobject, pygtk, docbook_xml_dtd_412, docbook_xsl,
|
, makeWrapper, pygobject, pygtk, docbook_xml_dtd_412, docbook_xsl
|
||||||
pythonDBus, libxml2, desktop_file_utils, libusb, cups, pycups,
|
, pythonDBus, libxml2, desktop_file_utils, libusb, cups, pycups
|
||||||
notify }:
|
, xz, pythonPackages
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${meta.name}-${meta.version}";
|
name = "${meta.name}-${meta.version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://cyberelk.net/tim/data/${meta.name}/1.2/${name}.tar.bz2";
|
url = "http://cyberelk.net/tim/data/${meta.name}/1.3/${name}.tar.xz";
|
||||||
sha256 = "16xjvahmdkkix7281gx7ac9zqaxgfb7pjjlgcc6kmw52cifk86ww";
|
sha256 = "1d50rqgpyrzyrxwq3qhafzq9075qm2wxdrh1f1q7whlr0chxi3mw";
|
||||||
};
|
};
|
||||||
buildInputs = [ udev intltool python pkgconfig glib xmlto docbook_xml_dtd_412
|
|
||||||
libxml2 docbook_xsl desktop_file_utils libusb cups makeWrapper pygobject
|
buildInputs =
|
||||||
pygtk pythonDBus pycups notify ];
|
[ xz intltool pkgconfig glib udev libusb cups xmlto
|
||||||
|
libxml2 docbook_xml_dtd_412 docbook_xsl desktop_file_utils
|
||||||
|
pythonPackages.python pythonPackages.wrapPython
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonPath = [ pythonDBus pycups pygtk pythonPackages.notify ];
|
||||||
|
|
||||||
configureFlags = "--with-udev-rules";
|
configureFlags = "--with-udev-rules";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall =
|
||||||
wrapProgram $out/bin/system-config-printer --set PYTHONPATH "$PYTHONPATH:$(toPythonPath $out):$(toPythonPath ${notify})/gtk-2.0"
|
''
|
||||||
|
|
||||||
|
wrapPythonPrograms
|
||||||
|
( cd $out/share/system-config-printer/troubleshoot
|
||||||
|
mv .__init__.py-wrapped __init__.py
|
||||||
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
name = "system-config-printer";
|
name = "system-config-printer";
|
||||||
version = "1.2.4";
|
version = "1.3.4";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1327,7 +1327,6 @@ let
|
|||||||
svnfs = callPackage ../tools/filesystems/svnfs { };
|
svnfs = callPackage ../tools/filesystems/svnfs { };
|
||||||
|
|
||||||
system_config_printer = callPackage ../tools/misc/system-config-printer {
|
system_config_printer = callPackage ../tools/misc/system-config-printer {
|
||||||
inherit (pythonPackages) notify;
|
|
||||||
libxml2 = libxml2Python;
|
libxml2 = libxml2Python;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -910,6 +910,8 @@ let pythonPackages = python.modules // rec {
|
|||||||
|
|
||||||
buildInputs = [ python pkgs.pkgconfig pkgs.libnotify pkgs.pygobject pkgs.pygtk pkgs.gtkLibs.glib pkgs.gtkLibs.gtk pkgs.dbus_glib ];
|
buildInputs = [ python pkgs.pkgconfig pkgs.libnotify pkgs.pygobject pkgs.pygtk pkgs.gtkLibs.glib pkgs.gtkLibs.gtk pkgs.dbus_glib ];
|
||||||
|
|
||||||
|
postInstall = "cd $out/lib/python*/site-packages && ln -s gtk-*/pynotify .";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Python bindings for libnotify";
|
description = "Python bindings for libnotify";
|
||||||
homepage = http://www.galago-project.org/;
|
homepage = http://www.galago-project.org/;
|
||||||
|
Loading…
Reference in New Issue
Block a user