foomatic-db{,-nonfree}: use finalAttrs pattern instead of rec

This commit is contained in:
Yarny0 2024-05-05 12:32:01 +02:00
parent df4cbbc521
commit c7d03d905d
2 changed files with 6 additions and 6 deletions
pkgs/by-name/fo
foomatic-db-nonfree
foomatic-db

View File

@ -6,7 +6,7 @@
, perl , perl
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "foomatic-db-nonfree"; pname = "foomatic-db-nonfree";
version = "unstable-2015-06-05"; version = "unstable-2015-06-05";
@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
''; '';
meta = { meta = {
changelog = "https://github.com/OpenPrinting/foomatic-db-nonfree/blob/${src.rev}/ChangeLog"; changelog = "https://github.com/OpenPrinting/foomatic-db-nonfree/blob/${finalAttrs.src.rev}/ChangeLog";
description = "OpenPrinting printer support database (unfree content)"; description = "OpenPrinting printer support database (unfree content)";
downloadPage = "https://www.openprinting.org/download/foomatic/"; downloadPage = "https://www.openprinting.org/download/foomatic/";
homepage = "https://openprinting.github.io/projects/02-foomatic/"; homepage = "https://openprinting.github.io/projects/02-foomatic/";
@ -84,4 +84,4 @@ stdenv.mkDerivation rec {
Dell, Genicom, Lexmark, Oce and Xerox. Dell, Genicom, Lexmark, Oce and Xerox.
''; '';
}; };
} })

View File

@ -11,7 +11,7 @@
, patchPpdFilesHook , patchPpdFilesHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "foomatic-db"; pname = "foomatic-db";
version = "unstable-2024-02-09"; version = "unstable-2024-02-09";
@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
''; '';
meta = { meta = {
changelog = "https://github.com/OpenPrinting/foomatic-db/blob/${src.rev}/ChangeLog"; changelog = "https://github.com/OpenPrinting/foomatic-db/blob/${finalAttrs.src.rev}/ChangeLog";
description = "OpenPrinting printer support database (free content)"; description = "OpenPrinting printer support database (free content)";
downloadPage = "https://www.openprinting.org/download/foomatic/"; downloadPage = "https://www.openprinting.org/download/foomatic/";
homepage = "https://openprinting.github.io/projects/02-foomatic/"; homepage = "https://openprinting.github.io/projects/02-foomatic/";
@ -100,4 +100,4 @@ stdenv.mkDerivation rec {
Oce, Oki, Ricoh, Samsung, Savin, Sharp, Toshiba and Utax. Oce, Oki, Ricoh, Samsung, Savin, Sharp, Toshiba and Utax.
''; '';
}; };
} })