unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: guix-devel@gnu.org
Subject: #f as a package description, gnu: Add rocminfo.
Date: Sun, 08 Aug 2021 21:33:18 +0100	[thread overview]
Message-ID: <87wnovismp.fsf@cbaines.net> (raw)
In-Reply-To: <20210808145729.2F8D620BD3@vcs0.savannah.gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2281 bytes --]


guix-commits@gnu.org writes:

> lbraun pushed a commit to branch master
> in repository guix.
>
> commit 91ce17a53236578f8055a2588460047741983925
> Author: Lars-Dominik Braun <lars@6xq.net>
> AuthorDate: Fri Aug 6 08:29:12 2021 +0200
>
>     gnu: Add rocminfo.
>
>     * gnu/packages/rocm.scm (rocminfo): New variable.
> ---
>  gnu/packages/rocm.scm | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>
> diff --git a/gnu/packages/rocm.scm b/gnu/packages/rocm.scm
> index 07e395c..0cf5a34 100644
> --- a/gnu/packages/rocm.scm
> +++ b/gnu/packages/rocm.scm
> @@ -304,3 +304,24 @@ allows runtimes to work on Windows as well as on Linux without much effort.")
>      (description "OpenCL 2.0 compatible language runtime, supporting offline
>  and in-process/in-memory compilation.")
>      (license license:ncsa)))
> +
> +(define-public rocminfo
> +  (package
> +    (name "rocminfo")
> +    (version %rocm-version)
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/RadeonOpenCompute/rocminfo.git")
> +                    (commit (string-append "rocm-" version))))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +                "0pcm308vwkjrwnrk507iya20mkil8j0vx699w9jk2gas4n4jvkcz"))))
> +    (build-system cmake-build-system)
> +    (arguments `(#:tests? #f)) ; No tests.
> +    (inputs `(("rocr-runtime" ,rocr-runtime)))
> +    (home-page "https://github.com/RadeonOpenCompute/rocminfo")
> +    (synopsis "ROCm Application for Reporting System Info")
> +    (description #f)
> +    (license license:ncsa)))

guix lint notes:
gnu/packages/rocm.scm:309:2: rocminfo@4.3.0: invalid description: #f

I noticed this because it broke an assumption about descriptions in the
Guix Data Service [1].

1: https://data.guix.gnu.org/revision/e81cf4e79a6e297db0ae2a9c39eab495e7e204f0

As this is now part of the history, I'll fix the Guix Data Service to be
able to cope when the description is #f.

Anyway, I wouldn't like for this change to lower the standard though,
it's currently the only package in Guix with an invalid description (as
far as I'm aware), is there some reason why it doesn't have one?

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

       reply	other threads:[~2021-08-08 20:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210808145723.7941.35341@vcs0.savannah.gnu.org>
     [not found] ` <20210808145729.2F8D620BD3@vcs0.savannah.gnu.org>
2021-08-08 20:33   ` Christopher Baines [this message]
2021-08-09  7:21     ` #f as a package description, gnu: Add rocminfo Lars-Dominik Braun
2021-08-09 21:44       ` Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnovismp.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).