brlaser: Fix cross compilation (#377737)

This commit is contained in:
Jonas Heinrich
2025-01-30 13:57:13 +01:00
committed by GitHub
+9 -5
View File
@@ -18,7 +18,11 @@ stdenv.mkDerivation rec {
sha256 = "sha256-1fvO9F7ifbYQHAy54mOx052XutfKXSK6iT/zj4Mhbww=";
};
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [
cmake
cups
];
buildInputs = [
zlib
cups
@@ -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.
@@ -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 ];
};
}