diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2025-09-06 12:12:38 +0200 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-09-09 16:04:05 +0900 |
| commit | ed007026312260c79566dffa742820ac787fe3b9 (patch) | |
| tree | bfea55b7911ed7f632d83d8f0ea0c101ed11a9ce /gnu/packages/electronics.scm | |
| parent | 2ba475d37aade4f551d39f65faef8b9c597f1cf9 (diff) | |
gnu: minipro: Move to flashing-tools.
* gnu/packages/electronics.scm (minipro): Move from here ...
* gnu/packages/flashing-tools.scm: ... to here.
Change-Id: I41354d9a5731575e370bfc90805ec1260bdb86d3
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'gnu/packages/electronics.scm')
| -rw-r--r-- | gnu/packages/electronics.scm | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 612e166d9b1..cae2101709f 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -408,62 +408,6 @@ which allows one to install the M8 firmware on any Teensy.") license:public-domain license:zlib)))) -(define-public minipro - ;; When built from a Git repo, minipro expects GIT_DATE to be set to the - ;; value of `git show -s --format=%ci'. When updating the package, run this - ;; in a checkout and put the value here. - (let* ((date "2025-04-13 21:54:38 -0700")) - (package - (name "minipro") - (version "0.7.3") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://gitlab.com/DavidGriffith/minipro.git") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1525rn5h73xism16vmivd3cz93g8w76h24f0yvbpc35ydc3fkqf7")))) - (native-inputs (list pkg-config which)) - (inputs (list libusb zlib)) - (build-system gnu-build-system) - (arguments - (list - #:tests? #f ; no test suite - #:phases - #~(modify-phases %standard-phases - (delete 'configure) ; No ./configure script - (add-before 'build 'fix-makefile - (lambda _ - ;; Fix some git related variables that minipro expects - (substitute* "Makefile" - (("GIT_BRANCH = .*") - (string-append "GIT_BRANCH = \"master\"\n")) - (("GIT_HASH = .*") - (string-append "GIT_HASH = \"" #$version "\"\n")) - (("GIT_DATE = .*") - (string-append "GIT_DATE = \"" #$date "\"\n")))))) - #:make-flags - #~(list (string-append "VERSION=" #$version) - (string-append "PREFIX=" #$output) - (string-append "UDEV_DIR=" #$output "/lib/udev") - (string-append "COMPLETIONS_DIR=" #$output - "/share/bash-completion/completions")))) - (synopsis "Controls the TL866xx series of chip programmers") - (description - "minipro is designed to program or read the contents of -chips supported by the TL866xx series of programmers. This includes many -microcontrollers, ROMs, EEPROMs and PLDs. - -To use this program without root privileges you must install the necessary udev -rules. This can be done by extending @code{udev-service-type} in your -@code{operating-system} configuration with this package. E.g.: -@code{(udev-rules-service 'minipro minipro #:groups '(\"plugdev\")}. -Additionally your user must be member of the @code{plugdev} group.") - (home-page "https://gitlab.com/DavidGriffith/minipro") - (license license:gpl3+)))) - (define-public openboardview (package (name "openboardview") |
