Commit Graph

144 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
Maxim Schuwalow
af292a8d96 cups-kyodialog3: fix source url 2020-12-23 15:02:55 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Ben Siraphob
683a87dbeb treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
Rohan
9b52f2ff67 cups-brother-hl1210w: init at 3.0.1-1
Package Brother HL1210W Cups printer driver. Based on cups-brother-hl1110.
Installed PPD can be found at /var/lib/cups/path/lib/cups/filter/brother-HL1210W-cups-en.ppd
2020-08-03 22:43:52 +12:00
Maximilian Bosch
923b6bff55
cups-bjnp: fix build w/glibc-2.31
https://hydra.nixos.org/build/122883083
2020-06-29 14:41:43 +02:00
Jan Tojnar
e89e2edc73
libusb-compat-0_1: rename from libusb 2020-04-28 05:33:41 +02:00
Florian Klink
d0e4ecb182 cnijfilter2: request libusb1 directly 2020-04-27 12:19:12 +02:00
Florian Klink
f5368e0194 cnijfilter_4_00: request libusb1 directly 2020-04-27 12:19:12 +02:00
Benjamin Hipple
78760d192d
Merge pull request #79246 from status-im/upgrade-brlaser
nixpkgs/brlaser: upgrade to v6
2020-04-18 14:23:43 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Joachim Schiele
f69f31a11b
hll2340dw brother: added driver to cups (#78560) 2020-02-09 12:14:55 +01:00
Jakub Sokołowski
aa53f61c21
nixpkgs/brlaser: upgrade to v6
It introduces support for several additional Brother printers.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-05 01:48:21 +01:00
Stefan Junker
64b2dc8039 pkgs/misc/cups/drivers: add brother mfcl3770cdw
This adds the printer driver for the Brother MFCL3770CDW.
It combines the cups-wrapper and the driver in one file which allows
sharing common variables and making it less error-prone than the other
Brother drivers in repository.

I volunteer for maintaining this one as long as I've got the model
around.
2020-01-06 21:06:30 +01:00
Franz Pletz
77b6c3cd06
Merge remote-tracking branch 'origin/master' into gcc-9 2019-12-26 14:17:36 +01:00
Puck Meerburg
6f942e765a cups-dymo: fix build 2019-12-16 19:48:05 +00:00
Kyle Sferrazza
151e9a810b canon-cups-ufr-2: add kylesferrazza as maintainer 2019-11-20 17:07:31 -05:00
Kyle Sferrazza
bfbba00d3f canon-cups-ufr2: 2.90 -> 3.70 2019-11-19 09:08:07 -05:00
Franz Pletz
49a3829704
cups-bjnp: fix build with gcc9 2019-11-03 14:26:33 +01:00
Charles Strahan
bcddd04027
Merge pull request #58399 from aszlig/cnijfilter2-update
cnijfilter2: 5.30 -> 5.70
2019-09-22 15:44:03 -05:00
Michael Hoang
f77b4c564e brlaser: 4 -> 5 2019-09-12 11:45:36 +10:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Delan Azabani
d6e03ca5cf fxlinuxprint: init at 1.1.2-1 2019-07-22 17:10:17 +10:00
worldofpeace
3f4a353737 treewide: use dontUnpack 2019-07-01 04:23:51 -04:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
aszlig
532360dd17
cnijfilter2: 5.30 -> 5.70
Newly supported series in version 5.40:

    MB2100, MB2700, iB4100, MB5100, MB5400, TS9000, TS8000, TS6000,
    TS5000, MG3000, E470, G4000

Newly supported series in version 5.50:

    E200, E300, E3100, TR7500, TR7530, TR8500, TR8530, TR8580, TS200,
    TS300, TS3100, TS5100, TS6100, TS6130, TS6180, TS8100, TS8180,
    TS9100, TS9180, TS8130, XK70, XK50

Newly supported series in version 5.60:

    G3010, G4010

Newly supported series in version 5.70:

    TS8200, XK80, TS8230, TS8280, TS6200, TS6230, TS6280, TS9500,
    TR9530, TS9580, TR4500, E4200

Signed-off-by: aszlig <aszlig@nix.build>
2019-03-26 19:35:31 +01:00
Tomas Hlavaty
728689a336 samsung-unified-linux-driver_1_00_36: init at 1.00.36 2019-03-11 21:42:53 +01:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Nick Hu
2124b002c6 cups-brother-hl3140cw: init at 1.1.4-0 2019-02-26 10:09:03 +00:00
Hugo Landau
603b8c430d
Reclassify printer drivers erroneously marked as GPL
Some CUPS printer drivers were marked as being GPL.
This changes them to reflect their actual, unfree licence.
2019-02-24 17:25:39 +00:00
Matthew Bauer
5c09d977c7 Merge remote-tracking branch 'origin/master' into staging 2019-02-09 12:14:06 -05:00
Thomas Bach
a0c9490b37 mfcl8690cdwcupswrapper: 1.3.0-0 -> 1.4.0-0 2019-01-30 13:33:06 +01:00
Thomas Bach
cec3c69837 mfcl8690cdwlpr: 1.2.0-0 -> 1.3.0-0 2019-01-30 13:33:06 +01:00
rnhmjoj
bcf54ce5bb
treewide: use ${stdenv.shell} instead of /bin/sh where possible 2019-01-16 20:37:15 +01:00
Florian Klink
f6ab103cf1 Revert "brlaser: fix $out"
This reverts commit 04405f65f9.

This was already fixed in https://github.com/NixOS/nixpkgs/pull/49180,
but never got backported to 18.09.
2018-12-19 10:58:53 +01:00
Florian Klink
04405f65f9 brlaser: fix $out 2018-12-19 01:18:02 +01:00
Alexey Muranov
7725d9de42 cups-toshiba-estudio: fix homepage
Provide an URL that works.
2018-11-26 22:30:58 +01:00
Jan Malakhovski
67a5c0da41 tree-wide: fix all revs of fetchsvn 2018-11-08 05:29:47 +00:00
Michael Raskin
bfd838a695
Merge pull request #49180 from symphorien/issue-49092
brlaser: fix install dir
2018-11-02 08:18:47 +00:00
David Costa
b4c7ff59f1 splix: add missing printer models
Add support for ML-2160 ML-2165 ML-3310 ML-3310ND.
The PPD files were not picked up by the Makefile because they were
in the wrong directory of the original source.

Co-authored-by: Merlin Göttlinger <megoettlinger@gmail.com>
2018-10-29 10:45:09 +01:00
Symphorien Gibol
26ee8d6479 brlaser: fix install dir
Fixes #49092
2018-10-26 21:08:42 +02:00
obadz
6fca3c5700 cups-googlecloudprint: init at 20160502 2018-10-11 09:19:58 +01:00
Peter Simons
929ad8e996 samsung-unified-linux-driver: update default version to 4.01.17
* Version 4.01.17 works fine for me on NixOS, driving both a Samsung ML-2165w
   and a Samsung ML-2510 printer successfully.

 * Version 4.00.39 is broken. The build shows errors, but doesn't abort. The
   generated binaries don't work, because they are lacking rpaths to their
   library dependencies.

 * Renamed old default.nix file to 1.00.37.nix. That version wasn't the default
   and it feels like a bad idea to mix versioned and unversioned file names in
   the same directory.
2018-10-03 10:25:46 +02:00
Will Dietz
eb91037e7b tree-wide: patchelf used during build -> nativeBuildInputs
In a few cases it wasn't clear so I left them as-is.

While visiting these moved other things to nativeBuildInputs
when it was clear they were one of these cases:

* makeWrapper
* archive utilities (in order to unpack src)
  * a few of these might no longer be needed but leaving for another day
2018-09-28 11:43:16 -05:00
Daiderd Jordan
04cba83e7f brlaser: cleanup and mark linux only (#46622)
The test binaries depend use open_memstream which isn't available on
darwin.

    error: use of undeclared identifier 'open_memstream'

/cc ZHF #45961
2018-09-13 22:47:34 +02:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Johannes Frankenau
d4f0848cae splix: install color profiles and enable JBIG 2018-08-16 15:53:00 +02:00
Thomas Bach
7e60f1c678 mfcl8690cdw: init lpdr and cupswrapper at 1.0.2/1.0.3 (#43968)
Provide printer driver for Brother MFC-L8690CDW.
2018-08-03 20:18:32 +02:00
Alan Pearce
8aecf68616 cups-toshiba-estudio: 7.51 -> 7.89 (#43850) 2018-07-29 21:51:47 +02:00