mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add picprog.
* gnu/packages/embedded.scm (picprog): New variable.
This commit is contained in:
parent
439980b707
commit
981bccf11c
1 changed files with 35 additions and 0 deletions
|
@ -932,3 +932,38 @@ (define-public python2-libmpsse
|
||||||
MPSSE (Multi-Protocol Synchronous Serial Engine) adapter by FTDI that can do
|
MPSSE (Multi-Protocol Synchronous Serial Engine) adapter by FTDI that can do
|
||||||
SPI, I2C, JTAG.")
|
SPI, I2C, JTAG.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
|
(define-public picprog
|
||||||
|
(package
|
||||||
|
(name "picprog")
|
||||||
|
(version "1.9.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "http://www.iki.fi/hyvatti/pic/picprog-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1r04hg1n3v2jf915qr05la3q9cxy7a5jnh9cc98j04lh6c9p4x85"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; No tests exist.
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-paths
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(substitute* "Makefile"
|
||||||
|
(("/usr/local") (assoc-ref outputs "out"))
|
||||||
|
((" -o 0 -g 0 ") " "))
|
||||||
|
#t))
|
||||||
|
(add-before 'install 'mkdir
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(mkdir-p (string-append out "/bin"))
|
||||||
|
(mkdir-p (string-append out "/man/man1"))
|
||||||
|
#t)))
|
||||||
|
(delete 'configure))))
|
||||||
|
(synopsis "Programs Microchip's PIC microcontrollers")
|
||||||
|
(description "This program programs Microchip's PIC microcontrollers.")
|
||||||
|
(home-page "http://hyvatti.iki.fi/~jaakko/pic/picprog.html")
|
||||||
|
(license license:gpl3+)))
|
||||||
|
|
Loading…
Reference in a new issue