diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2020-12-03 23:52:00 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2020-12-04 00:04:49 +0100 |
commit | 00fb3976b3519373d5f588952b161cf3766a0d1a (patch) | |
tree | ece81dfc513851dc82797426349f3925769913a6 /gnu/packages/admin.scm | |
parent | 4496e038d8281b4a4bcc299d3c8857f9ea5650b5 (diff) |
gnu: Add novena-eeprom.
* gnu/packages/admin.scm (novena-eeprom): New variable.
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r-- | gnu/packages/admin.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index e595ad3702..d04312c9a1 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4267,3 +4267,42 @@ disk utilization, priority, username, state, and exit code.") (arguments `(#:import-path "github.com/linuxboot/fiano/cmds/fmap" #:unpack-path "github.com/linuxboot/fiano")))) + +(define-public novena-eeprom + (package + (name "novena-eeprom") + (version "2.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xobs/novena-eeprom.git") + (commit (string-append "v" version)))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "00pd71mg0g20v0820ggp3ghf9nyj5s4wavaz9mkmrmsr91hcnf7i")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; No tests exist + #:make-flags + (list (string-append "CC=" ,(cc-for-target))) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (out-bin (string-append out "/bin")) + (out-share-man (string-append out "/share/man/man8"))) + (install-file "novena-eeprom" out-bin) + (install-file "novena-eeprom.8" out-share-man))))))) + (inputs + `(("i2c-tools" ,i2c-tools))) + (synopsis "Novena EEPROM editor") + (description "This package provides an editor for the Novena EEPROM. +Novena boards contain a device-dependent descriptive EEPROM that defines +various parameters such as serial number, MAC address, and featureset. +This program allows you to view and manipulate this EEPROM list.") + (home-page "https://github.com/xobs/novena-eeprom/") + (supported-systems '("armhf-linux")) + (license license:bsd-3))) |