Guix Packager — Write a package definition in a breeze
(define-module (guix-packager)
  #:use-module (guix)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages)
  #:use-module (guix build-system gnu))

(define-public hello-ui
  (package
    (name "hello-ui")
    (version "2.10")
    (source
      (origin
        (method url-fetch)
        (uri "mirror://gnu/hello/hello-2.10.tar.gz")
        (sha256 (base32 "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i"))))
    (build-system gnu-build-system)
    (arguments (list #:configure-flags #~(list "--enable-silent-rules")))
    (home-page "https://www.gnu.org/software/hello/")
    (synopsis "Hello, GNU world: An example GNU package")
    (description "Guess what GNU Hello prints!")
    (license license:gpl3+)))

;; This allows you to run guix shell -f guix-packager.scm.
;; Remove this line if you just want to define a package.
hello-ui