mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: kicad-library: Update source URL.
* gnu/packages/engineering.scm (kicad-library)[source]: Update URL. Re-indent.
This commit is contained in:
parent
8df90c1b23
commit
9c476e4db5
1 changed files with 12 additions and 12 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue