Skip to content

Commit e26ae8d

Browse files
authored
brlaser: Fix cross compilation (NixOS#377737)
2 parents 14e0a56 + ad669d4 commit e26ae8d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

pkgs/by-name/br/brlaser/package.nix

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ stdenv.mkDerivation rec {
1818
sha256 = "sha256-1fvO9F7ifbYQHAy54mOx052XutfKXSK6iT/zj4Mhbww=";
1919
};
2020

21-
nativeBuildInputs = [ cmake ];
21+
nativeBuildInputs = [
22+
cmake
23+
cups
24+
];
25+
2226
buildInputs = [
2327
zlib
2428
cups
@@ -29,7 +33,7 @@ stdenv.mkDerivation rec {
2933
"-DCUPS_DATA_DIR=share/cups"
3034
];
3135

32-
meta = with lib; {
36+
meta = {
3337
description = "CUPS driver for Brother laser printers";
3438
longDescription = ''
3539
Although most Brother printers support a standard printer language such as PCL or PostScript, not all do. If you have a monochrome Brother laser printer (or multi-function device) and the other open source drivers don't work, this one might help.
@@ -68,8 +72,8 @@ stdenv.mkDerivation rec {
6872
Lenovo M7605D
6973
'';
7074
homepage = "https://github.com/pdewacht/brlaser";
71-
license = licenses.gpl2Plus;
72-
platforms = platforms.linux;
73-
maintainers = with maintainers; [ StijnDW ];
75+
license = lib.licenses.gpl2Plus;
76+
platforms = lib.platforms.linux;
77+
maintainers = with lib.maintainers; [ StijnDW ];
7478
};
7579
}

0 commit comments

Comments
 (0)