308 Commits

Author SHA1 Message Date
Antoine Eiche
0222eed7a7 dcpj785dw{lpr,-cupswrapper}: init at 1.0.0_0 2026-03-22 08:54:32 +01:00
Lisanna Dettwyler
f9e3858b88 samsung-unified-linux-driver: use https for sources
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
2026-03-21 12:31:04 -04:00
Lisanna Dettwyler
21dff290b9 cnijfilter_2_80: use https for sources
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
2026-03-21 12:30:09 -04:00
Sigmanificient
b66adc2d6c mfcl3770cdwcupswrapper: set pname 2026-02-01 12:49:36 +01:00
Sigmanificient
53f65fc5f1 mfcl3770cdwdriver: set pname 2026-02-01 12:49:36 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Wolfgang Walther
90e7159c55 treewide: remove unused rec
Auto-fix by nixf-diagnose.
2025-10-05 10:49:12 +02:00
ipoupaille
334ad35f81 cnijfilter_2_80: Fix build for gcc 14 2025-07-19 13:12:54 +02:00
ipoupaille
698f8c7345 Revert "cnijfilter_2_80: Fix build"
This reverts commit 56bd205ea6.
2025-06-21 09:40:18 +02:00
Yarny0
eb8cee29f9 samsung-unified-linux-driver 4.01.17: fix library path
On x86-64, the executables were looking for
libraries in `${lib.getLib stdenv.cc.cc}/lib64`,
but that path apparently changed with
5e2e98f3b7 ,
resulting in a runtime error:

> /nix/store/0z8gd4fmjknwswx0pp5kzqnrhj1k9q8x-samsung-UnifiedLinuxDriver-4.01.17/lib/cups/filter/rastertospl: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Affected programs are
`$out/lib/cups/filter/{ps,raster}tospl{,c}`.

The commit at hand fixes the library lookup path.
2025-03-10 16:43:03 +01:00
Yarny0
0b59ddc82d samsung-unified-linux-driver 4.01.17: unify derivation name
Change the name of the derivation in
`pkgs/misc/cups/drivers/samsung/4.01.17.nix` from
"samsung-UnifiedLinuxDriver" to "samsung-unified-linux-driver",
so that it matches the names of the other versions declared
in `pkgs/misc/cups/drivers/samsung/1.00.37.nix` and in
`pkgs/by-name/sa/samsung-unified-linux-driver_1_00_36/package.nix`.
2025-03-10 15:47:19 +01:00
Yarny0
fea4433fb5 samsung-unified-linux-driver (all): resolve with lib; in meta
https://github.com/NixOS/nixpkgs/issues/371862
2025-03-10 15:46:00 +01:00
Yarny0
3948577e2a samsung-unified-linux-driver (all): use finalAttrs pattern 2025-03-10 15:39:22 +01:00
talyz
56bd205ea6 cnijfilter_2_80: Fix build 2025-01-26 10:02:59 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Wolfgang Walther
387f59af8d pkgs/misc/cups/drivers/samsung/4.00.39: remove unused builder.sh
Oversight in d14b6e65ff.
2024-11-15 20:10:27 +01:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Reno Dakota
52bf1163fa treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Peder Bergebakken Sundt
8c8c27bb19 treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
Philip Taron
9062806b52 brgenml1lpr: remove with statements 2024-08-18 06:31:18 -07:00
Felix Buehler
eb4b691723 samsung-unified-linux-driver_1_00_36: remove 'with lib;' 2024-08-16 16:09:03 +02:00
Peder Bergebakken Sundt
d1d4ca2ebe Merge pull request #330458 from lluchs/canon-cups-ufr2-5.90
canon-cups-ufr2: 5.70 -> 5.90
2024-08-04 22:07:15 +02:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Lukas Werling
aea44d2f19 canon-cups-ufr2: 5.70 -> 5.90 2024-07-27 18:46:40 +02:00
Michael Hoang
eb725313bc treewide: remove Enzime 2024-07-09 14:32:33 +10:00
éclairevoyant
83a657cacd Merge pull request #324353 from delan/bye
maintainers: remove delan
2024-07-03 17:39:29 +00:00
Delan Azabani
01aa077998 maintainers: remove delan 2024-07-03 19:54:30 +08:00
Jussi Kuokkanen
9b4703cf14 pkgs/misc: remove licenses.gpl2 2024-07-03 14:24:14 +03:00
Samuel Dionne-Riel
c7882d9a4d hll2390dw-cups: Drop unmaintained package 2024-06-21 01:06:01 -04:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Sandro Jäckel
41452802cb treewide: fix all obviously wrong mkEnableOptions 2024-06-03 13:20:32 +02:00
Sandro
380c5735c0 Merge pull request #309334 from Yarny0/foomatic-db-update 2024-06-02 17:58:13 +02:00
Artturin
3be6823649 Merge pull request #270437 from mtzanidakis/fix/cups-brother-hl1210w
cups-brother-hl1210w: fix ppd symlink path
2024-06-01 16:12:07 +03:00
Yarny0
df4cbbc521 foomatic-db*: migrate to pkgs/by-name overlay 2024-05-05 12:40:48 +02:00
Yarny0
08fd84846e foomatic-db-engine: unstable-2024-02-10 -> unstable-2024-04-05
Due to the sole new commit

a2b12271e1
"Fix wget / curl auto-detection at configure"

curl (or wget) is now a mandatory (runtime!) dependency.
2024-04-06 12:21:08 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Weijia Wang
498ce719b1 Merge pull request #291174 from LucienLeMagicien/brlaser-2a49e32
brlaser: 6 -> 6-unstable-2023-02-30
2024-03-07 12:43:29 +01:00
Artturi
70576b917e Merge pull request #291609 from Artturin/printcleanup1
{mfcj6510,mfcj470}dwcupswrapper: cleanup
2024-02-29 02:58:59 +02:00
Sandro
3beaece283 Merge pull request #288566 from Yarny0/foomatic-db-engine-update
foomatic-db-engine: unstable-2022-05-03 -> unstable-2024-02-10
2024-02-27 22:55:17 +01:00
Artturin
72def8dad2 {mfcj6510,mfcj470}dwcupswrapper: cleanup
`cleanupPhase` doesn't exist
2024-02-26 19:10:53 +02:00
LucienLeMagicien
02ad1f9442 brlaser: v6 -> 6-unstable-2023-02-30
`brlaser` v6 was released in 2019. Since then, a bug preventing some models
of Brother printers from printing images or pdfs with images has been fixed,
but there hasn't been any new Github releases.

https://github.com/pdewacht/brlaser/issues/52
2024-02-24 23:49:14 +01:00
Yarny0
86f579309d foomatic-db-engine: unstable-2022-05-03 -> unstable-2024-02-10
Just one new commit:
fa91bdfd87
"Use XML Make or Model for 1284DeviceID line if other info is missing"
2024-02-13 14:50:32 +01:00
Yarny0
d12a6c07bf foomatic-db: unstable-2023-09-02 -> unstable-2024-02-09
Adds "Generic PS Printer" and "Generic PDF Printer".
2024-02-09 12:07:03 +01:00
Guillaume Girol
d4c1c32dc5 cnijfilter_2_80: disable fortify3 hardening
the cups filter crashes with hardening

Fixes https://github.com/NixOS/nixpkgs/issues/276125
2023-12-27 12:00:00 +00:00
Manolis Tzanidakis
33dc92d62a cups-brother-hl1210w: fix ppd symlink path 2023-11-27 17:44:19 +02:00
Paul Meyer
2c97a5caa7 maintainers: remove jfrankenau
due to inactivity.
2023-11-20 08:44:58 +01:00
Artturi
713b8c1531 Merge pull request #200773 from phrogg/mfc465cn 2023-11-18 20:47:03 +02:00
Phil R
b79483b619 mfc465cn{lpr,cupswrapper}: init at 1.0.1-1 2023-11-18 20:45:28 +02:00