Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

srain: init at 1.3.0 #144992

Closed
wants to merge 3 commits into from
Closed

srain: init at 1.3.0 #144992

wants to merge 3 commits into from

Conversation

wineee
Copy link
Member

@wineee wineee commented Nov 7, 2021

Motivation for this change
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1 labels Nov 7, 2021
@wineee
Copy link
Member Author

wineee commented Nov 7, 2021

Known issues:GtkEmojiChooser is only available in GTK4,Srain 2.0 will move to GTK4,SrainApp/srain#279

@iAmMrinal0
Copy link
Member

Result of nixpkgs-review pr 144992 run on x86_64-linux 1

1 package built:
  • srain

@iAmMrinal0
Copy link
Member

GUI works. Please follow CONTRIBUTING.md and squash the commits.

In your case, the commits are:

maintainers: add rewine
srain: init at 1.3.0

Comment on lines +9563 to +9568
rewine = {
email = "[email protected]";
github = "wineee";
githubId = 22803888;
name = "Lu Hongxu";
};
Copy link
Member

@bobby285271 bobby285271 Nov 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be nice to put this in a separate commit, so exactly 2 commits should be presented in this PR:

  • maintainers: add rewine for the maintainers/maintainer-list.nix edit
  • srain: init at 1.3.0 for the package addition

@@ -0,0 +1,41 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, gtk3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be nice to format this file with nixpkgs-fmt.

{ lib, stdenv, fetchFromGitHub, pkg-config, gtk3
, libconfig, libsoup, libsecret, openssl, gettext
, glib, glib-networking, appstream-glib, dbus-glib, gnome
, python3, python3Packages # sphinx-build
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems that python3 is unused.

Suggested change
, python3, python3Packages # sphinx-build
, python3Packages # sphinx-build

, libconfig, libsoup, libsecret, openssl, gettext
, glib, glib-networking, appstream-glib, dbus-glib, gnome
, python3, python3Packages # sphinx-build
, meson, ninja, makeWrapper, wrapGAppsHook
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reasons to add makeWrapper?

Suggested change
, meson, ninja, makeWrapper, wrapGAppsHook
, meson, ninja, wrapGAppsHook

nativeBuildInputs = [
meson ninja pkg-config
gettext appstream-glib
makeWrapper wrapGAppsHook
Copy link
Member

@bobby285271 bobby285271 Nov 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also it will be nice to sort the list elements.

Suggested change
makeWrapper wrapGAppsHook
wrapGAppsHook

Comment on lines +31 to +32

mesonBuildType = "release";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default build type is plain, is it okay to use the default?
Seems that special measures are taken only when this is set to debug.

Suggested change
mesonBuildType = "release";

Copy link
Member Author

@wineee wineee Nov 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because aur uses “release”, it shouldn't be necessary。


I resubmitted pr #145069

meta = with lib; {
description = "Modern IRC client written in GTK.";
homepage = "https://srain.im";
license = licenses.gpl3;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gpl3 is a deprecated license, from this it should be fine to use gpl3Plus.

Suggested change
license = licenses.gpl3;
license = licenses.gpl3Plus;

homepage = "https://srain.im";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ "rewine" ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
maintainers = with maintainers; [ "rewine" ];
maintainers = with maintainers; [ rewine ];

homepage = "https://srain.im";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ "rewine" ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
maintainers = with maintainers; [ "rewine" ];
maintainers = with maintainers; [ rewine ];

@wineee wineee closed this Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants