From fea4433fb57db29a867e96b536b8d405289f0843 Mon Sep 17 00:00:00 2001 From: Yarny0 <41838844+Yarny0@users.noreply.github.com> Date: Mon, 10 Mar 2025 15:46:00 +0100 Subject: [PATCH] samsung-unified-linux-driver (all): resolve `with lib;` in `meta` https://github.com/NixOS/nixpkgs/issues/371862 --- .../samsung-unified-linux-driver_1_00_36/package.nix | 8 ++++---- pkgs/misc/cups/drivers/samsung/1.00.37.nix | 8 ++++---- pkgs/misc/cups/drivers/samsung/4.01.17.nix | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pkgs/by-name/sa/samsung-unified-linux-driver_1_00_36/package.nix b/pkgs/by-name/sa/samsung-unified-linux-driver_1_00_36/package.nix index 7afc96ee7cef..e45dfa5cc1b9 100644 --- a/pkgs/by-name/sa/samsung-unified-linux-driver_1_00_36/package.nix +++ b/pkgs/by-name/sa/samsung-unified-linux-driver_1_00_36/package.nix @@ -112,16 +112,16 @@ stdenv.mkDerivation (finalAttrs: { # we did this in prefixup already dontPatchELF = true; - meta = with lib; { + meta = { description = "Unified Linux Driver for Samsung printers and scanners"; homepage = "http://www.bchemnet.com/suldr"; downloadPage = "http://www.bchemnet.com/suldr/driver/"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + license = lib.licenses.unfree; # Tested on linux-x86_64. Might work on linux-i386. # Probably won't work on anything else. - platforms = platforms.linux; + platforms = lib.platforms.linux; maintainers = [ ]; }; }) diff --git a/pkgs/misc/cups/drivers/samsung/1.00.37.nix b/pkgs/misc/cups/drivers/samsung/1.00.37.nix index fbf0501eff2c..18461b8436c1 100644 --- a/pkgs/misc/cups/drivers/samsung/1.00.37.nix +++ b/pkgs/misc/cups/drivers/samsung/1.00.37.nix @@ -94,15 +94,15 @@ stdenv.mkDerivation (finalAttrs: { # we did this in prefixup already dontPatchELF = true; - meta = with lib; { + meta = { description = "Unified Linux Driver for Samsung printers and scanners"; homepage = "http://www.bchemnet.com/suldr"; downloadPage = "http://www.bchemnet.com/suldr/driver/"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + license = lib.licenses.unfree; # Tested on linux-x86_64. Might work on linux-i386. # Probably won't work on anything else. - platforms = platforms.linux; + platforms = lib.platforms.linux; }; }) diff --git a/pkgs/misc/cups/drivers/samsung/4.01.17.nix b/pkgs/misc/cups/drivers/samsung/4.01.17.nix index ea768cf8d9b9..47ab13fecbe4 100644 --- a/pkgs/misc/cups/drivers/samsung/4.01.17.nix +++ b/pkgs/misc/cups/drivers/samsung/4.01.17.nix @@ -92,12 +92,12 @@ stdenv.mkDerivation (finalAttrs: { "rastertospl" ]; - meta = with lib; { + meta = { description = "Samsung's Linux printing drivers; includes binaries without source code"; homepage = "http://www.samsung.com/"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; - platforms = platforms.linux; - maintainers = with maintainers; [ joko ]; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + license = lib.licenses.unfree; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ joko ]; }; })