this repo has no description
1opam-version: "2.0"
2maintainer: "marek@xivilization.net"
3homepage: "https://github.com/Leonidas-from-XIV/ocaml-wiringpi"
4license: "LGPL-3.0-only WITH OCaml-LGPL-linking-exception"
5build: [
6 ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
7 ["ocaml" "setup.ml" "-build"]
8]
9remove: [
10 ["ocamlfind" "remove" "WiringPi"]
11]
12depends: [
13 "ocaml" {< "5.0.0"}
14 "ocamlfind"
15 "ocamlbuild" {build}
16]
17x-ci-accept-failures: ["debian-unstable"]
18post-messages: [
19 "
20 This package requires WiringPi development files installed.
21 Tentative instructions : https://gist.githubusercontent.com/Leonidas-from-XIV/a1a7315ac01f7fbee3f0/raw
22 "
23 {failure}
24]
25available: os = "linux"
26install: ["ocaml" "setup.ml" "-install"]
27synopsis: "WiringPi for OCaml, low level Raspberry Pi hardware access"
28description: """
29WiringPi is a library that allows easy, Arduino-like access to hardware
30functionality (GPIO pins mostly) of the Raspberry Pi minicomputer. That library
31is written in C so what this package does is to provide a simple interface to
32use the C library from OCaml. The API is unchanged (even the capitalization) to
33provide an interface which is as similar as possible to the code that it is
34based upon.
35
36Please note that you need to install the WiringPi library first, as it is not
37included in this package. Otherwise compilation will fail."""
38dev-repo: "git+https://github.com/Leonidas-from-XIV/ocaml-wiringpi.git"
39flags: light-uninstall
40url {
41 src:
42 "https://github.com/Leonidas-from-XIV/ocaml-wiringpi/releases/download/0.0.1/ocaml-wiringpi-0.0.1.tar.gz"
43 checksum: [
44 "sha256=45b5134b451ad75f585fdb361c94fbc5e587d8d38132a4b41402862147e6c119"
45 "md5=46076ba8b12691c6a366189de0f86613"
46 ]
47}