gnu: kicad-library: Update source URL.

* gnu/packages/engineering.scm (kicad-library)[source]: Update URL.
Re-indent.
This commit is contained in:
Tobias Geerinckx-Rice 2019-05-17 02:23:08 +02:00
parent 8df90c1b23
commit 9c476e4db5
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -851,18 +851,18 @@ (define-public kicad-library
(package
(name "kicad-library")
(version version)
(source (origin
(method url-fetch)
(uri (string-append
"http://downloads.kicad-pcb.org/libraries/kicad-library-"
version ".tar.gz"))
(sha256
(base32
"1azb7v1y3l6j329r9gg7f4zlg0wz8nh4s4i5i0l9s4yh9r6i9zmv"))))
(source
(origin
(method url-fetch)
(uri (string-append
"https://kicad-downloads.s3.cern.ch/libraries/kicad-library-"
version ".tar.gz"))
(sha256
(base32 "1azb7v1y3l6j329r9gg7f4zlg0wz8nh4s4i5i0l9s4yh9r6i9zmv"))))
(build-system cmake-build-system)
(arguments
`(#:out-of-source? #t
#:tests? #f ; no tests
#:tests? #f ; no tests
#:phases
(modify-phases %standard-phases
(add-after 'install 'install-footprints ; from footprints tarball
@ -882,14 +882,14 @@ (define-public kicad-library
(fp-lib-table (string-append template-dir "/fp-lib-table")))
(delete-file fp-lib-table)
(copy-file (string-append fp-lib-table ".for-pretty")
fp-lib-table))
fp-lib-table))
#t)))))
(native-search-paths
(list (search-path-specification
(variable "KISYSMOD") ; footprint path
(variable "KISYSMOD") ; footprint path
(files '("share/kicad/modules")))
(search-path-specification
(variable "KISYS3DMOD") ; 3D model path
(variable "KISYS3DMOD") ; 3D model path
(files '("share/kicad/modules/packages3d")))))
;; Kicad distributes footprints in a separate tarball.
(native-inputs