Archived
1
0
Fork 0

gnu: kicad: Re-use common fields in add-ons.

* gnu/packages/engineering.scm (kicad-i18n, kicad-symbols): Re-use
kicad's VERSION and HOME-PAGE.
(kicad-symbols, kicad-footprints, kicad-packages3d, kicad-templates):
Re-use kicad's VERSION.
This commit is contained in:
Tobias Geerinckx-Rice 2020-05-15 22:22:09 +02:00
parent fbfaafae27
commit 1c9403f6a6
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -890,7 +890,7 @@ electrical diagrams), gerbview (viewing Gerber files) and others.")
(define kicad-i18n (define kicad-i18n
(package (package
(name "kicad-i18n") (name "kicad-i18n")
(version "5.1.6") (version (package-version kicad))
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -908,7 +908,7 @@ electrical diagrams), gerbview (viewing Gerber files) and others.")
(delete 'check)))) (delete 'check))))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal))) `(("gettext" ,gettext-minimal)))
(home-page "https://kicad-pcb.org/") (home-page (package-home-page kicad))
(synopsis "KiCad GUI translations") (synopsis "KiCad GUI translations")
(description "This package contains the po files that are used for the GUI (description "This package contains the po files that are used for the GUI
translations for KiCad.") translations for KiCad.")
@ -920,7 +920,7 @@ translations for KiCad.")
(define-public kicad-symbols (define-public kicad-symbols
(package (package
(name "kicad-symbols") (name "kicad-symbols")
(version "5.1.6") (version (package-version kicad))
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -933,7 +933,7 @@ translations for KiCad.")
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:tests? #f)) ; no tests exist `(#:tests? #f)) ; no tests exist
(home-page "https://kicad-pcb.org/") (home-page (package-home-page kicad))
(synopsis "Official KiCad schematic symbol libraries") (synopsis "Official KiCad schematic symbol libraries")
(description "This package contains the official KiCad schematic symbol (description "This package contains the official KiCad schematic symbol
libraries.") libraries.")
@ -949,7 +949,7 @@ libraries.")
(package (package
(inherit kicad-symbols) (inherit kicad-symbols)
(name "kicad-footprints") (name "kicad-footprints")
(version "5.1.6") (version (package-version kicad))
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -966,7 +966,7 @@ libraries.")
(package (package
(inherit kicad-symbols) (inherit kicad-symbols)
(name "kicad-packages3d") (name "kicad-packages3d")
(version "5.1.6") (version (package-version kicad))
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -983,7 +983,7 @@ libraries.")
(package (package
(inherit kicad-symbols) (inherit kicad-symbols)
(name "kicad-templates") (name "kicad-templates")
(version "5.1.6") (version (package-version kicad))
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference