Commit Graph

319 Commits

Author SHA1 Message Date
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Bryan Gardiner
60df55c9fb
hplip: fix hp-setup crash by adding proper NixOS PPD search path
HPLIP's getSystemPPDs() function relies on searching for PPDs below common FHS
paths.  None of these exist on NixOS, but the code assumes that at least one of
the directories will be found, and crashes when it doesn't (cups_ppd_path is
None and the code passes that to os.path.join).

A usable PPD search path for the running system on NixOS is
/var/lib/cups/path/share, so this patches the source to check this path as well.
This should fix the NixOS case and keep non-NixOS cases working too.
2021-01-09 17:07:30 -08:00
Sandro Jäckel
1abf8fae01
steamcontroller: Disable tests, cleanup 2021-01-07 10:42:10 +01:00
Doron Behar
b6270a2d90 hplip: 3.20.5 -> 3.20.11 2021-01-05 10:23:16 +02:00
wucke13
f438340d3a utsushi: unstable-2020-11-10 -> unstable-2021-01-01 2021-01-01 17:02:00 +01:00
rys ostrovid
357e0703f8
epkowa: add support for 'Perfection V37/V370' scanners (#107584) 2020-12-25 21:10:36 +01:00
R. RyanTM
7a1e1053bb gutenprint: 5.2.14 -> 5.3.4 2020-12-12 03:37:53 +00:00
Orivej Desh
35e26f9a85 sc-controller: unbreak 2020-12-06 23:20:03 +00:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Max Wilson
713b47e815 add self to utsushi 2020-11-18 12:00:31 -08:00
wucke13
f89b4dc450 utsushi: 3.59.2 -> unstable-2020-11-10
+ master should be roughly equivalent to 3.62.0
+ moving to the community repo because they are way better at fixing
  things, while upstream epson almost never merges fixes
+ great thanks to @mwilsoncoding for debugging the problem:
   + `autoconf-archive` was missing
2020-11-14 15:50:19 +01:00
Maximilian Bosch
f94859f199
epson-escpr2: 1.1.23 -> 1.1.24 2020-11-12 19:41:37 +01:00
Jan Tojnar
eaeafe60f4
sc-controller: mark as broken
Python 3 is not supported but PyGObject no longer supports Python 2.

https://github.com/kozec/sc-controller/issues/498
2020-10-24 01:18:45 +02:00
Maximilian Bosch
b6f990947c
epson-escpr2: 1.1.17 -> 1.1.23 2020-10-19 17:48:27 +02:00
Ben Siraphob
683a87dbeb treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
rnhmjoj
65cbea4563
sc-controller: fix broken svg icons
The gdk-pixbuf module exposed by librsvg wasn't detected
due to strictDeps being enabled by default in python packages.
2020-10-12 08:10:18 +02:00
Timothée Jourde
81c2d88d7a sc-controller: fixing missing icons (librsvg) 2020-09-16 19:12:16 +02:00
Maximilian Bosch
5998a16b14
epson-escpr2: 1.1.15 -> 1.1.17 2020-09-06 11:23:23 +02:00
symphorien
5e6fe939df
epkowa: update hashes (#93846) 2020-08-05 20:23:30 +02:00
Maximilian Bosch
479db270fb
epson-escpr2: 1.1.13 -> 1.1.15 2020-07-26 11:48:27 +02:00
Michael Weiss
5b14758d31
Merge pull request #92920 from primeos/scons
scons: 3.1.2 -> 4.0.0
2020-07-18 13:36:29 +02:00
Michael Weiss
595a36d846
scons.py2: Replace with sconsPackages.scons_3_1_2
Required since SCons 4.0.0 doesn't support Python 2.7 anymore.
2020-07-18 10:48:20 +02:00
Doron Behar
359f2345c0 hplip: Remove all python related gcc references
Use in stripDebugList python sitePackages directory used by the build,
and don't hard code python3.7's sitePackages path.
2020-07-12 14:24:05 +03:00
Maximilian Bosch
9884165283
epson-escpr2: 1.1.12 -> 1.1.13 2020-06-29 19:46:02 +02:00
Jan Solanti
6b529db329 xow: 0.4 -> 0.5 2020-06-25 12:49:26 +03:00
Florian Klink
907353b1e4 hplip: use wrapQtApp
Otherwise, things like hp-setup segfault if you run them from another
nixpkgs checkout:

```
HP Linux Imaging and Printing System (ver. 3.20.5)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

[1]    4543 abort (core dumped)  result/bin/hp-setup
```
2020-06-16 20:34:30 +02:00
Bastian Köcher
88f749545c hplip: Add missing library
Otherwise, things like `hp-setup` fail finding gi:

```
HP Linux Imaging and Printing System (ver. 3.20.5)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Traceback (most recent call last):
  File "/nix/store/rmzq8c4n47s4q4p31w18waz0zrba2ljl-hplip-3.20.5/share/hplip/setup.py", line 314, in <module>
    ui = import_module(ui_package + ".setupdialog")
  File "/nix/store/n0b076p351ma864q38if4yglsg99hw2s-python3-3.8.3/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/nix/store/rmzq8c4n47s4q4p31w18waz0zrba2ljl-hplip-3.20.5/share/hplip/ui5/setupdialog.py", line 31, in <module>
    from base import device, utils, models, pkit
  File "/nix/store/rmzq8c4n47s4q4p31w18waz0zrba2ljl-hplip-3.20.5/share/hplip/base/pkit.py", line 38, in <module>
    from gi import _gobject as gobject
ModuleNotFoundError: No module named 'gi'
```
2020-06-16 20:26:40 +02:00
Florian Klink
fd2627babf
Merge pull request #89120 from dasj19/hplip-update
Upgrade hplip & hplip plugin to 3.20.5
2020-06-16 01:33:06 +02:00
Daniel Șerbănescu
37583e45a2 hplip: 3.20.3 -> 3.20.5 2020-06-16 01:31:14 +02:00
Doron Behar
c59e8d3fb3 hplip: don't reference gcc in binaries from /share and other locations 2020-06-03 20:32:32 +03:00
Maximilian Bosch
3ddc56ca14
epson-escpr2: 1.1.11 -> 1.1.12 2020-05-24 00:49:25 +02:00
Martin Weinelt
e24f5eab66
treewide: add CVE identifiers to patches
This allows tools like broken.sh to correctly identify the patched
status.
2020-05-06 23:18:09 +02:00
Dmitry Kalinkin
f46cbbc540
Merge pull request #86666 from IvarWithoutBones/pentablet-driver
xp-pen-g430: rename to pentablet-driver & 20190820 -> 1.2.13.1
2020-05-06 12:34:19 -04:00
Ivar
daf860d9fe pentablet-driver: 20190820 -> 1.2.13.1 2020-05-03 21:53:06 +02:00
Ivar
780b171301 xp-pen-g430: rename to pentablet-driver 2020-05-03 21:53:06 +02:00
Jan Tojnar
e89e2edc73
libusb-compat-0_1: rename from libusb 2020-04-28 05:33:41 +02:00
Maximilian Bosch
f5f85d16d1
epson-escpr2: 1.1.1 -> 1.1.11 2020-04-25 17:49:11 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jan Tojnar
0851f48a02
utsushi: fix build
It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
2020-04-04 12:49:23 +02:00
Frederik Rietdijk
92124ed660 Merge master into staging-next 2020-04-03 21:54:40 +02:00
Ivar
318f05f776 xp-pen-g430: init at 20190820 2020-04-02 14:51:43 +02:00
Jan Tojnar
b036be7c81
xow: fix build
It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
2020-04-02 07:54:14 +02:00
Jan Tojnar
3e0f4e202f
Merge branch 'master' into staging-next 2020-03-31 21:32:15 +02:00
Jan Solanti
081ed8f012 xow: 0.2 -> 0.4 2020-03-31 17:24:37 +03:00
Philipp Middendorf
35035a543c xow: init at 0.2 2020-03-30 00:16:21 +03:00
Frederik Rietdijk
a36be028f5 Merge staging-next into staging 2020-03-28 21:15:15 +01:00
Michael Weiss
0950324466 scons: Add passthru.py2 for backward compatibility
Not all packages build with Python 3, see #75877. The goal is to get rid
of Python 2 but this approach ensures a smoother transition.
2020-03-27 10:49:52 -07:00
Daniel Șerbănescu
d7d3b0deff hplip: 3.19.12 -> 3.20.3 2020-03-24 22:17:40 +01:00
Dominik Honnef
baa4798f56 epkowa: add dominikh as maintainer 2020-03-20 20:02:21 +01:00
Dominik Honnef
55e85a0d62 epkowa: add the GT-S650 plugin
This plugin adds support for the GT-S650, Perfection V19 and
Perfection V39 scanners. I've tested it personally with an Epson
Perfection V39.

This plugin uses the ISCAN_FIRMWARE_DIR environment variable, not
ISCAN_FW_DIR. A quick grep didn't find any use of ISCAN_FW_DIR in the
currently packaged plugins, but a quick Google suggests that this
variable does (or at least used to) exist, so I'm not touching it.
2020-03-20 17:44:20 +01:00