GNU bug report logs -
#52113
[PATCH] gnu: Add pnmixer
Previous Next
Reported by: Jaft <jaft.r <at> outlook.com>
Date: Thu, 25 Nov 2021 19:51:01 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 52113 <at> debbugs.gnu.org (full text, mbox):
Hello,
Jaft <jaft.r <at> outlook.com> writes:
> * gnu/packages/gtk.scm (pnmixer):Add PNMixer
Thank you. Some comments follow.
> +(define-public pnmixer
> + (let ([version "0.7.2"])
Nitpick: we don't use square brackets for let. Besides, you do not need
a binding here, you just need to hard-code it in the version field.
> + (package
> + (name "pnmixer")
> + (version version)
> + (source (origin
Could you move origin below source?
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/nicklan/pnmixer/")
> + (commit (string-append "v" version))))
> + (file-name (git-file-name name version))
> + (sha256 (base32
> + "0416pa933ddf4b7ph9zxhk5jppkk7ppcq1aqph6xsrfnka4yb148"))
Could you move base32 below sha256 and put the hash string in front of base32?
> + (modules '((guix build utils)))))
The modules part is not required. You can remove it.
> + (build-system cmake-build-system)
> + (arguments `(#:phases (modify-phases %standard-phases (delete 'check))))
The correct way to do this is to add a "#:tests? #f" argument, with
a comment explaining why you are disabling tests.
> + (native-inputs `(("pkg-config" ,pkg-config)
> + ("gettext" ,gettext-minimal)))
Native inputs should be ordered alphabetically. Besides, the list should
be moved on the line below native-inputs.
> + (inputs `(("alsa-lib" ,alsa-lib)
> + ("glib" ,glib)
> + ("libx11" ,libx11)
> + ("gtk+" ,gtk+)
> + ("libnotify" ,libnotify)))
Ditto: please order inputs alphabetically and move them below the inputs
field name.
> + (home-page "https://github.com/nicklan/pnmixer/")
> + (synopsis "Simple mixer application designed to run in your system tray")
Nitpick: you can remove "your" in the synopsis
Could you send an updated patch?
Regards,
--
Nicolas Goaziou
This bug report was last modified 3 years and 153 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.