mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: translate2geda: Use GEXPs.
* gnu/packages/engineering.scm (translate2geda): Use GEXPs. Improve package style. Change-Id: I6573a7299b268143b09be3ebbb14d7f7943ae591
This commit is contained in:
parent
cc2b236e37
commit
149cc9acad
1 changed files with 19 additions and 17 deletions
|
@ -954,24 +954,26 @@ as well as pick-place files.")
|
||||||
"1h062bbpw8nk0jamkya1k4lsgaia796jyviiz2gkdi6k1bxhwgpa"))))
|
"1h062bbpw8nk0jamkya1k4lsgaia796jyviiz2gkdi6k1bxhwgpa"))))
|
||||||
(build-system ant-build-system)
|
(build-system ant-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; there are no tests
|
(list #:tests? #f ; there are no tests
|
||||||
#:jar-name "translate2geda.jar"
|
#:jar-name "translate2geda.jar"
|
||||||
#:source-dir "."
|
#:source-dir "."
|
||||||
#:main-class "translate2geda"
|
#:main-class "translate2geda"
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'install-bin
|
(add-after 'install 'install-bin
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(bin (string-append out "/bin"))
|
|
||||||
(wrapper (string-append bin "/translate2geda")))
|
|
||||||
(mkdir-p bin)
|
|
||||||
(with-output-to-file wrapper
|
|
||||||
(lambda _
|
(lambda _
|
||||||
(format #t "#!/bin/sh~%exec ~a -jar ~a/share/java/translate2geda.jar"
|
(let* ((bin (string-append #$output "/bin"))
|
||||||
(which "java") out)))
|
(wrapper (string-append bin "/translate2geda"))
|
||||||
(chmod wrapper #o555))
|
(jar "/share/java/translate2geda.jar"))
|
||||||
#t)))))
|
(mkdir-p bin)
|
||||||
|
(with-output-to-file wrapper
|
||||||
|
(lambda _
|
||||||
|
(format #t
|
||||||
|
"#!/bin/sh~%exec ~a -jar ~a~a~%"
|
||||||
|
(which "java")
|
||||||
|
#$output
|
||||||
|
jar)))
|
||||||
|
(chmod wrapper #o555)))))))
|
||||||
(home-page "https://github.com/erichVK5/translate2geda")
|
(home-page "https://github.com/erichVK5/translate2geda")
|
||||||
(synopsis "Utility for converting symbol and footprint formats to gEDA")
|
(synopsis "Utility for converting symbol and footprint formats to gEDA")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue