mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -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
|
||||
(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
|
||||
|
|
Loading…
Reference in a new issue