2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, zlib, cups }:
|
2018-02-17 19:10:17 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "brlaser";
|
2019-09-12 02:43:56 +01:00
|
|
|
version = "5";
|
2018-02-17 19:10:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pdewacht";
|
|
|
|
repo = "brlaser";
|
2018-05-24 05:37:33 +01:00
|
|
|
rev = "v${version}";
|
2019-09-12 02:43:56 +01:00
|
|
|
sha256 = "133fx49wkg1v8r4kcishd035hlsscv8kc2q4jnln5qmyhpyygjyy";
|
2018-02-17 19:10:17 +00:00
|
|
|
};
|
|
|
|
|
2018-09-13 21:47:34 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ zlib cups ];
|
2018-02-17 19:10:17 +00:00
|
|
|
|
2018-10-26 20:08:42 +01:00
|
|
|
cmakeFlags = [ "-DCUPS_SERVER_BIN=lib/cups" "-DCUPS_DATA_DIR=share/cups" ];
|
2018-02-17 19:10:17 +00:00
|
|
|
|
|
|
|
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
|
2019-09-12 02:43:56 +01:00
|
|
|
Brother DCP-1602
|
2018-02-17 19:10:17 +00:00
|
|
|
Brother DCP-7030
|
|
|
|
Brother DCP-7040
|
|
|
|
Brother DCP-7055
|
|
|
|
Brother DCP-7055W
|
2019-09-12 02:43:56 +01:00
|
|
|
Brother DCP-7060D
|
2018-02-17 19:10:17 +00:00
|
|
|
Brother DCP-7065DN
|
2019-09-12 02:43:56 +01:00
|
|
|
Brother DCP-7080
|
|
|
|
Brother DCP-L2500D
|
|
|
|
Brother DCP-L2540DW
|
|
|
|
Brother HL-1110 series
|
|
|
|
Brother HL-1200 series
|
|
|
|
Brother HL-L2300D series
|
|
|
|
Brother HL-L2320D series
|
|
|
|
Brother HL-L2340D series
|
|
|
|
Brother HL-L2360D series
|
|
|
|
Brother MFC-1910W
|
|
|
|
Brother MFC-7240
|
2018-02-17 19:10:17 +00:00
|
|
|
Brother MFC-7360N
|
2019-09-12 02:43:56 +01:00
|
|
|
Brother MFC-7365DN
|
|
|
|
Brother MFC-7840W
|
|
|
|
Brother MFC-L2710DW
|
|
|
|
Lenovo M7605D
|
2018-02-17 19:10:17 +00:00
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/pdewacht/brlaser";
|
2018-02-17 19:10:17 +00:00
|
|
|
license = licenses.gpl2;
|
2018-09-13 21:47:34 +01:00
|
|
|
platforms = platforms.linux;
|
2018-02-17 19:10:17 +00:00
|
|
|
maintainers = with maintainers; [ StijnDW ];
|
|
|
|
};
|
|
|
|
}
|