Hello Jone, It was hard to get started for me, too. But after several package recipes with a help of Guix community in the mailing list it's easy.
Jone <[email protected]> writes: > But I am ashamed! :) > > 1. xfce4-cpugraph-plugin.scm […] First of all in ‘(use-modules …)’ you could only specify Guile modules. After we fix parentheses, then there will an error about no existing ‘(guix build)’ Guile module. So let's remove it. Here is a correct version, but it requires to add more modules to ‘(use-modules …)’ because of ‘native-inputs’ and ‘inputs’ in: --8<---------------cut here---------------start------------->8--- (define-public xfce4-cpugraph-plugin (package (native-inputs …) (inputs …))) --8<---------------cut here---------------end--------------->8---
(use-modules (ice-9 match)
(srfi srfi-1)
(guix gexp)
(guix packages)
(guix utils)
(guix licenses)
(guix download)
(guix build-system gnu))
(define-public xfce4-cpugraph-plugin
(package
(name "xfce4-cpugraph-plugin")
(version "1.0.5")
(source (origin
(method url-fetch)
(uri (string-append "http://archive.xfce.org/src/panel-plugins/"
name "/" (version-major+minor version) "/"
name "-" version ".tar.bz2"))
(sha256
(base32
"1izl53q95m5xm2fiq7385vb1i9nwgjizxkmgpgh33zdckb40xnl5"))))
(build-system gnu-build-system)
(native-inputs `(("pkg-config" ,pkg-config)
("intltool" ,intltool)))
(inputs `(("glib" ,glib)
("gtk+" ,gtk+-2)
("libxfce4util" ,libxfce4util)
("libxfce4ui" ,libxfce4ui)
("xfce4-panel" ,xfce4-panel)))
(home-page "https://goodies.xfce.org/projects/panel-plugins/")
(synopsis "cpugraph")
(description "TEST")
(license (list gpl2+ lgpl2.0+))))
[…] Oleg.
signature.asc
Description: PGP signature
