Commit | Line | Data |
---|---|---|
adb5f469 LC |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> | |
b114aba2 | 3 | ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il> |
890d4ce6 | 4 | ;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr> |
adb5f469 LC |
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 packages) | |
23 | #:use-module (guix download) | |
24 | #:use-module (guix build-system gnu) | |
25 | #:use-module (guix licenses) | |
26 | #:use-module (gnu packages libusb)) | |
27 | ||
28 | (define-public libphidget | |
29 | (package | |
30 | (name "libphidget") | |
890d4ce6 | 31 | (version "2.1.9.20190409") |
adb5f469 LC |
32 | (source (origin |
33 | (method url-fetch) | |
34 | (uri (string-append | |
b114aba2 EF |
35 | "https://www.phidgets.com/downloads/phidget21/libraries/" |
36 | "linux/libphidget/libphidget_" | |
adb5f469 LC |
37 | version ".tar.gz")) |
38 | (sha256 | |
890d4ce6 | 39 | (base32 "07w54dmr75vq2imngfy66nk1sxlvkzhl2p6g362q0a02f099jy0f")))) |
adb5f469 LC |
40 | (build-system gnu-build-system) |
41 | (inputs `(("libusb" ,libusb))) | |
c5a1902a | 42 | (outputs '("out" "debug")) |
b114aba2 | 43 | (home-page "https://www.phidgets.com/") |
adb5f469 LC |
44 | (license lgpl3+) |
45 | (synopsis "C library to manipulate Phidgets") | |
46 | (description synopsis))) |