rosenthal: Add flashrom-dev.

* rosenthal/packages/flashing-tools.scm: New file.
(flashrom-dev): New variable.
wip/index/refs/heads/trunk
Hilton Chain 2 years ago
parent 62921a9228
commit 84837df370
No known key found for this signature in database
GPG Key ID: 5E5AA665614917F7
  1. 33
      rosenthal/packages/flashing-tools.scm

@ -0,0 +1,33 @@
;; SPDX-FileCopyrightText: 2022 Hilton Chain <hako@ultrarare.space>
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
(define-module (rosenthal packages flashing-tools)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages flashing-tools))
(define-public flashrom-dev
(let ((base flashrom)
(revision "1081")
(commit "8528ea0845171a4b26de44757d5b30c9727e8d5b"))
(package
(inherit base)
(name "flashrom-dev")
(version (git-version "1.2" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/flashrom/flashrom")
(commit commit)))
(file-name (git-file-name name version ))
(sha256
(base32
"1nycc11zbc3kay6jlqvalrvnr1yhxdvki8yxcndrhsjhs7bm7r02"))))
(arguments
(substitute-keyword-arguments (package-arguments base)
((#:make-flags _)
#~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" #$output))))))))
Loading…
Cancel
Save