mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 00:25:24 +00:00
43 lines
1.3 KiB
Nix
43 lines
1.3 KiB
Nix
{ stdenv, fetchFromGitHub, cmake, zlib, cups, ghostscript }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "brlaser";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pdewacht";
|
|
repo = "brlaser";
|
|
rev = "a52149823373e11f918d9e6a56eda7242935c99b";
|
|
sha256 = "12d8g0aispdj2virf6vrvb0vx6d6ardjg3qyav75shsm1f94ids6";
|
|
};
|
|
|
|
buildInputs = [ cmake zlib cups ];
|
|
|
|
preConfigure = ''
|
|
cmakeFlags="$cmakeFlags -DCUPS_SERVER_BIN=$out/lib/cups/ -DCUPS_DATA_DIR=$out/share/cups/"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A 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.
|
|
|
|
This driver is known to work with these printers:
|
|
|
|
Brother DCP-1510
|
|
Brother DCP-7030
|
|
Brother DCP-7040
|
|
Brother DCP-7055
|
|
Brother DCP-7055W
|
|
Brother DCP-7065DN
|
|
Brother HL-L2300D
|
|
Brother MFC-7360N
|
|
'';
|
|
homepage = https://github.com/pdewacht/brlaser;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ StijnDW ];
|
|
};
|
|
}
|