aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/engineering.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-20 09:27:49 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-20 11:23:50 +0100
commitef0ef831bc5281b8a03518eeb670170ca61a28f8 (patch)
treef488dc811de9a84fcc898e88bcafcfa979cee73d /gnu/packages/engineering.scm
parent0e773da02db9ad72a2f6c6ad01831009b50117db (diff)
downloadpatches-ef0ef831bc5281b8a03518eeb670170ca61a28f8.tar
patches-ef0ef831bc5281b8a03518eeb670170ca61a28f8.tar.gz
gnu: lepton-eda: Update to 1.9.9-20191003.
* gnu/packages/engineering.scm (lepton-eda): Update to 1.9.9-20191003. [inputs]: Do not inherit from geda-gaf; replace guile-2.0 with guile-2.2. [arguments]: Add phase to compile Scheme files.
Diffstat (limited to 'gnu/packages/engineering.scm')
-rw-r--r--gnu/packages/engineering.scm24
1 files changed, 21 insertions, 3 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index b4294ded29..371663385b 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -248,14 +248,14 @@ utilities.")
(package
(inherit geda-gaf)
(name "lepton-eda")
- (version "1.9.5-20180820")
+ (version "1.9.9-20191003")
(home-page "https://github.com/lepton-eda/lepton-eda")
(source (origin
(method git-fetch)
(uri (git-reference (url home-page) (commit version)))
(sha256
(base32
- "1ayaccvw18zh4g7a4x5jf6yxkphi5xafb0hpc732g59qkgwfcmlr"))
+ "08cc3zfk84qq9mrkc9pp4r9jlavvm01wwy0yd9frql68w2zw6mip"))
(file-name (git-file-name name version))))
(native-inputs
`(("autoconf" ,autoconf)
@@ -266,7 +266,14 @@ utilities.")
("groff" ,groff)
("which" ,which)
,@(package-native-inputs geda-gaf)))
- ;; For now it's Guile 2.0, not 2.2.
+ (inputs
+ `(("glib" ,glib)
+ ("gtk" ,gtk+-2)
+ ("guile" ,guile-2.2)
+ ("desktop-file-utils" ,desktop-file-utils)
+ ("shared-mime-info" ,shared-mime-info)
+ ("m4" ,m4)
+ ("pcb" ,pcb)))
(arguments
(substitute-keyword-arguments (package-arguments geda-gaf)
((#:configure-flags flags ''())
@@ -300,6 +307,17 @@ utilities.")
,(string-take version
(string-index version #\-)))
(format port "#define PACKAGE_GIT_COMMIT \"cabbag3\"~%")))
+ #t))
+ (add-after 'install 'compile-scheme-files
+ (lambda* (#:key outputs #:allow-other-keys)
+ (invoke "make" "precompile")
+ (for-each (lambda (program)
+ (wrap-program program
+ `("GUILE_LOAD_COMPILED_PATH" ":" prefix
+ (,(string-append (assoc-ref outputs "out")
+ "/share/lepton-eda/ccache/")))))
+ (find-files (string-append (assoc-ref outputs "out") "/bin")
+ ".*"))
#t))))))
(description
"Lepton EDA ia an @dfn{electronic design automation} (EDA) tool set