diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2023-04-18 21:19:58 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-08-11 00:50:48 +0200 |
commit | 10d9d08c9a45e02d0d3db63fb5884e34eda66222 (patch) | |
tree | fde8f7c93b580f41a3814ebb2c0e1363be3bbfa0 | |
parent | 71aba798d3d586a42afe8a61e8e36b95ca41bc37 (diff) |
gnu: Add fritzing-parts.
* gnu/packages/engineering.scm (fritzing-parts): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/engineering.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 9fb9658078..b1084d541c 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -66,6 +66,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system ant) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system emacs) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) @@ -777,6 +778,43 @@ ready for production.") ;; released under GPLv3+. (license (list license:gpl3+ license:cc-by-sa3.0)))) +(define-public fritzing-parts + ;; XXX: Release of the parts stopped in 2016 and it looks like develop + ;; branch has latest changes comparing to other branches. + (let ((commit "d61d63de9294343b1b6e86f149e78e4b1d3a0009") + (revision "0")) + (package + (name "fritzing-parts") + (version (git-version "0.9.6" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fritzing/fritzing-parts") + (commit commit))) + (file-name (git-file-name "fritzing-parts" version)) + (sha256 + (base32 "0g39ja1aqw5qx8alf61m6zcy6y78j9ky556x6x1cnd6g7kkzd861")))) + (build-system copy-build-system) + (arguments + (list + #:install-plan + #~'(("." "share/library/" + #:exclude-regexp (".github.*" + ".gitignore" + "CONTRIBUTING.md" + "LICENSE.txt" + "README.md"))) + #:modules '(((guix build gnu-build-system) #:prefix gnu:) + (guix build copy-build-system) + (guix build utils) + (ice-9 match)))) + (home-page "https://fritzing.org") + (synopsis "Electronic components (parts library) for use in the Fritzing app") + (description "This package contains all part definitions that are +required for Fritzing app.") + (license license:cc-by-sa3.0)))) + (define-public qelectrotech (package (name "qelectrotech") |