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