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