1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
3 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
4 ;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
6 ;;; This file is part of GNU Guix.
8 ;;; GNU Guix is free software; you can redistribute it and/or modify it
9 ;;; under the terms of the GNU General Public License as published by
10 ;;; the Free Software Foundation; either version 3 of the License, or (at
11 ;;; your option) any later version.
13 ;;; GNU Guix is distributed in the hope that it will be useful, but
14 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;;; GNU General Public License for more details.
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21 (define-module (gnu packages printers)
22 #:use-module (guix packages)
23 #:use-module (guix git-download)
24 #:use-module (guix build-system cmake)
25 #:use-module (guix build-system gnu)
26 #:use-module ((guix licenses) #:prefix license:)
27 #:use-module (gnu packages compression)
28 #:use-module (gnu packages cups)
29 #:use-module (gnu packages libusb)
30 #:use-module (gnu packages ghostscript)
31 #:use-module (gnu packages pkg-config)
32 #:use-module (gnu packages qt))
34 ;; This is a module for packages related to printer-like devices, but not
37 (define-public robocut
45 (url "https://github.com/Timmmm/robocut.git")
46 (commit (string-append "v" version))))
47 (file-name (git-file-name name version))
49 (base32 "0dp9cssyik63yvkk35s51v94a873x751iqg93qzd8dpqkmz5z8gn"))))
50 (build-system gnu-build-system)
52 '(#:phases (modify-phases %standard-phases
54 (lambda* (#:key outputs #:allow-other-keys)
55 (let ((out (assoc-ref outputs "out")))
56 (substitute* "Robocut.pro"
58 (string-append out "/")))
61 (string-append "PREFIX=" out))
68 `(("pkg-config" ,pkg-config)
70 (synopsis "Graphical program to drive plotting cutters")
72 "Robocut is a simple graphical program that allows you to cut graphics
73 with Graphtec and Sihouette plotting cutters using an SVG file as its input.")
74 (home-page "http://robocut.org")
75 (license license:gpl3+)))
77 (define-public brlaser
84 (url "https://github.com/pdewacht/brlaser.git")
85 (commit (string-append "v" version))))
86 (file-name (git-file-name name version))
89 "1995s69ksq1fz0vb34v0ndiqncrinbrlpmp70rkl6az7kag99s80"))))
90 (build-system cmake-build-system)
93 (list (string-append "-DCUPS_DATA_DIR="
94 (assoc-ref %outputs "out")
96 (string-append "-DCUPS_SERVER_BIN="
97 (assoc-ref %outputs "out")
100 `(("ghostscript" ,ghostscript)
103 (home-page "https://github.com/pdewacht/brlaser")
104 (synopsis "Brother laser printer driver")
105 (description "Brlaser is a CUPS driver for Brother laser printers. This
106 driver is known to work with these printers:
109 @item Brother DCP-1510 series
110 @item Brother DCP-1600 series
111 @item Brother DCP-7030
112 @item Brother DCP-7040
113 @item Brother DCP-7055
114 @item Brother DCP-7055W
115 @item Brother DCP-7060D
116 @item Brother DCP-7065DN
117 @item Brother DCP-7080
118 @item Brother DCP-L2500D series
119 @item Brother DCP-L2520D series
120 @item Brother DCP-L2540DW series
121 @item Brother HL-1110 series
122 @item Brother HL-1200 series
123 @item Brother HL-2030 series
124 @item Brother HL-2140 series
125 @item Brother HL-2220 series
126 @item Brother HL-2270DW series
127 @item Brother HL-5030 series
128 @item Brother HL-L2300D series
129 @item Brother HL-L2320D series
130 @item Brother HL-L2340D series
131 @item Brother HL-L2360D series
132 @item Brother MFC-1910W
133 @item Brother MFC-7240
134 @item Brother MFC-7360N
135 @item Brother MFC-7365DN
136 @item Brother MFC-7840W
137 @item Brother MFC-L2710DW series
140 (license license:gpl2+)))