projects/guix·blob python-team · refs

50 lines · 1.9 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013, 2026 Ludovic Courtès <[email protected]>
3;;; Copyright © 2018 Efraim Flashner <[email protected]>
4;;; Copyright © 2020 Tobias Geerinckx-Rice <[email protected]>
5;;;
6;;; This file is part of GNU Guix.
7;;;
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.
12;;;
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.
17;;;
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/>.
20
21(define-module (gnu packages libphidget)
22 #:use-module (guix gexp)
23 #:use-module (guix packages)
24 #:use-module (guix download)
25 #:use-module (guix build-system gnu)
26 #:use-module (guix licenses)
27 #:use-module (gnu packages libusb))
28
29(define-public libphidget
30 (package
31 (name "libphidget")
32 (version "2.1.9.20190409")
33 (source (origin
34 (method url-fetch)
35 (uri (string-append
36 "https://www.phidgets.com/downloads/phidget21/libraries/"
37 "linux/libphidget/libphidget_"
38 version ".tar.gz"))
39 (sha256
40 (base32 "07w54dmr75vq2imngfy66nk1sxlvkzhl2p6g362q0a02f099jy0f"))))
41 (build-system gnu-build-system)
42 (arguments
43 (list #:configure-flags
44 #~(list "CFLAGS=-Wno-incompatible-pointer-types -O2 -g")))
45 (inputs (list libusb))
46 (outputs '("out" "debug"))
47 (home-page "https://www.phidgets.com/")
48 (license lgpl3+)
49 (synopsis "C library to manipulate Phidgets")
50 (description synopsis)))