[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#39636] [PATCH 4/6] gnu: Remove kicad-library.
From: |
Brice Waegeneire |
Subject: |
[bug#39636] [PATCH 4/6] gnu: Remove kicad-library. |
Date: |
Sun, 16 Feb 2020 22:28:32 +0100 |
* gnu/packages/engineering.scm (kicad-library): Remove variable.
---
gnu/packages/engineering.scm | 62 ------------------------------------
1 file changed, 62 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index adee1761d6..0d7b0db2c4 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -864,68 +864,6 @@ perform specific functions, for example, pcbnew (Editing
PCB), eeschema (editing
electrical diagrams), gerbview (viewing Gerber files) and others.")
(license license:gpl3+)))
-(define-public kicad-library
- (let ((version "4.0.7"))
- (package
- (name "kicad-library")
- (version version)
- (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
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'install-footprints ; from footprints tarball
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (invoke "tar" "xvf"
- (assoc-ref inputs "kicad-footprints")
- "-C" (string-append (assoc-ref outputs "out")
- "/share/kicad/modules")
- "--strip-components=1")))
- ;; We change the default global footprint file, which is generated
if
- ;; it doesn't exist in user's home directory, from the one using the
- ;; github plugin, to the one using the KISYSMOD environment path.
- (add-after 'install-footprints 'use-pretty-footprint-table
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (template-dir (string-append out
"/share/kicad/template"))
- (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))
- #t)))))
- (native-search-paths
- (list (search-path-specification
- (variable "KISYSMOD") ; footprint path
- (files '("share/kicad/modules")))
- (search-path-specification
- (variable "KISYS3DMOD") ; 3D model path
- (files '("share/kicad/modules/packages3d")))))
- ;; Kicad distributes footprints in a separate tarball.
- (native-inputs
- `(("kicad-footprints"
- ,(origin
- (method url-fetch)
- (uri (string-append
- "http://downloads.kicad-pcb.org/libraries/kicad-footprints-"
- version ".tar.gz"))
- (sha256
- (base32
- "08qrz5zzsb5127jlnv24j0sgiryd5nqwg3lfnwi8j9a25agqk13j"))))))
- (home-page "https://kicad-pcb.org/")
- (synopsis "Libraries for kicad")
- (description "This package provides Kicad component, footprint and 3D
-render model libraries.")
- (license license:lgpl2.0+))))
-
(define-public kicad-symbols
(package
(name "kicad-symbols")
--
2.25.0
- [bug#39636] [PATCH 0/6] KiCad add translation and update libraries., Brice Waegeneire, 2020/02/16
- [bug#39636] [PATCH 3/6] gnu: Add kicad-templates., Brice Waegeneire, 2020/02/16
- [bug#39636] [PATCH 1/6] gnu: Add kicad-footprints., Brice Waegeneire, 2020/02/16
- [bug#39636] [PATCH 2/6] gnu: Add variable kicad-packages3d., Brice Waegeneire, 2020/02/16
- [bug#39636] [PATCH 4/6] gnu: Remove kicad-library.,
Brice Waegeneire <=
- [bug#39636] [PATCH 5/6] gnu: kicad-symbols: Update synopsis and description., Brice Waegeneire, 2020/02/16
- [bug#39636] [PATCH 6/6] gnu: kicad: Add translations and search paths., Brice Waegeneire, 2020/02/16
- bug#39636: [PATCH 0/6] KiCad add translation and update libraries., Danny Milosavljevic, 2020/02/27