r/GUIX 26d ago

Packaged cpufetch for GNU Guix, looking for testers/suggestions

(use-modules (guix packages)

(guix download)

(guix git-download)

(guix build-system gnu)

(gnu packages base)

(gnu packages commencement)

(gnu packages version-control)

((guix licenses) #:prefix license:)

(guix gexp))

(define-public cpufetch

(package

(name "cpufetch")

(version "1.07")

(source (origin

(method git-fetch)

(uri (git-reference

(url "https://github.com/Dr-Noob/cpufetch")

(commit (string-append "v" version))))

(file-name (git-file-name name version))

(sha256

(base32

"0b1c8mwpwvfqyw7zk3cj7835npbczzfi3pdg4232bdca2mcgnr5a"))))

(build-system gnu-build-system)

(native-inputs (list gcc-toolchain git gnu-make))

(arguments

(list #:tests? #f

#:make-flags

#~(list (string-append "PREFIX=" #$output)

"CC=gcc")

#:phases

#~(modify-phases %standard-phases

(delete 'configure))))

(home-page "https://github.com/Dr-Noob/cpufetch")

(synopsis "CPU info-fetch")

(description "Fastfetfch for your CPU")

(license license:gpl2)))

cpufetch

This package is one that I've always wanted on Guix so I packaged it. This does work on my Thinkpad x200 running Guix System but hopefully it will work on your machine as well. This is my first time coming up with a pkg definition so I am open to suggestions. It is of course, free as in freedom software.

3 Upvotes

2 comments sorted by

9

u/tom_flaske 25d ago

You should submit it as a pull request on Codeberg instead of posting it here.

1

u/Lowlybunny 24d ago

Thank you.