Skip to content

Commit

Permalink
brlaser: Fix cross compilation (NixOS#377737)
Browse files Browse the repository at this point in the history
  • Loading branch information
onny authored Jan 30, 2025
2 parents 14e0a56 + ad669d4 commit e26ae8d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions pkgs/by-name/br/brlaser/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ stdenv.mkDerivation rec {
sha256 = "sha256-1fvO9F7ifbYQHAy54mOx052XutfKXSK6iT/zj4Mhbww=";
};

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [
cmake
cups
];

buildInputs = [
zlib
cups
Expand All @@ -29,7 +33,7 @@ stdenv.mkDerivation rec {
"-DCUPS_DATA_DIR=share/cups"
];

meta = with lib; {
meta = {
description = "CUPS driver for Brother laser printers";
longDescription = ''
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.
Expand Down Expand Up @@ -68,8 +72,8 @@ stdenv.mkDerivation rec {
Lenovo M7605D
'';
homepage = "https://github.com/pdewacht/brlaser";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ StijnDW ];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ StijnDW ];
};
}

0 comments on commit e26ae8d

Please sign in to comment.