Commit | Line | Data |
---|---|---|
c298c889 DM |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org> | |
3 | ;;; | |
4 | ;;; This file is part of GNU Guix. | |
5 | ;;; | |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (gnu packages raspberry-pi) | |
20 | #:use-module (gnu packages) | |
21 | #:use-module (gnu packages admin) | |
22 | #:use-module (gnu packages algebra) | |
23 | #:use-module (gnu packages base) | |
24 | #:use-module (gnu packages documentation) | |
25 | #:use-module (gnu packages embedded) | |
26 | #:use-module (guix build-system gnu) | |
27 | #:use-module (guix download) | |
28 | #:use-module (guix git-download) | |
29 | #:use-module ((guix licenses) #:prefix license:) | |
30 | #:use-module (guix packages) | |
31 | #:use-module (guix gexp) | |
32 | #:use-module (guix store) | |
33 | #:use-module (guix monads) | |
34 | #:use-module (guix utils) | |
35 | #:use-module (srfi srfi-1) | |
36 | #:use-module (srfi srfi-2) | |
37 | #:use-module (srfi srfi-26) | |
38 | #:use-module (ice-9 match)) | |
39 | ||
40 | (define-public bcm2835 | |
41 | (package | |
42 | (name "bcm2835") | |
43 | (version "1.64") | |
44 | (source (origin | |
45 | (method url-fetch) | |
46 | (uri (string-append | |
47 | "http://www.airspayce.com/mikem/bcm2835/bcm2835-" | |
48 | version ".tar.gz")) | |
49 | (sha256 | |
50 | (base32 | |
51 | "06s81540iz4vsh0cm6jwah2x0hih79v42pfa4pgr8kcbv56158h6")))) | |
52 | (build-system gnu-build-system) | |
53 | (arguments | |
54 | `(#:tests? #f)) ; Would need to be root | |
55 | ;; doc/html docs would not be installed anyway. | |
56 | ;(native-inputs | |
57 | ; `(("doxygen", doxygen))) | |
58 | (synopsis "C library for Broadcom BCM 2835 as used in Raspberry Pi") | |
59 | (description "This package provides a C library for Broadcom BCM 2835 as | |
60 | used in the Raspberry Pi") | |
61 | (home-page "http://www.airspayce.com/mikem/bcm2835/") | |
62 | (supported-systems '("armhf-linux" "aarch64-linux")) | |
63 | (license license:gpl3))) | |
64 |