-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
srain: init at 1.3.0 #144992
Conversation
Known issues:GtkEmojiChooser is only available in GTK4,Srain 2.0 will move to GTK4,SrainApp/srain#279 |
Result of 1 package built:
|
GUI works. Please follow CONTRIBUTING.md and squash the commits. In your case, the commits are:
|
rewine = { | ||
email = "[email protected]"; | ||
github = "wineee"; | ||
githubId = 22803888; | ||
name = "Lu Hongxu"; | ||
}; |
There was a problem hiding this comment.
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 themaintainers/maintainer-list.nix
editsrain: init at 1.3.0
for the package addition
@@ -0,0 +1,41 @@ | |||
{ lib, stdenv, fetchFromGitHub, pkg-config, gtk3 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
, 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 |
There was a problem hiding this comment.
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
?
, meson, ninja, makeWrapper, wrapGAppsHook | |
, meson, ninja, wrapGAppsHook |
nativeBuildInputs = [ | ||
meson ninja pkg-config | ||
gettext appstream-glib | ||
makeWrapper wrapGAppsHook |
There was a problem hiding this comment.
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.
makeWrapper wrapGAppsHook | |
wrapGAppsHook |
|
||
mesonBuildType = "release"; |
There was a problem hiding this comment.
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
.
mesonBuildType = "release"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
meta = with lib; { | ||
description = "Modern IRC client written in GTK."; | ||
homepage = "https://srain.im"; | ||
license = licenses.gpl3; |
There was a problem hiding this comment.
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
.
license = licenses.gpl3; | |
license = licenses.gpl3Plus; |
homepage = "https://srain.im"; | ||
license = licenses.gpl3; | ||
platforms = platforms.linux; | ||
maintainers = with maintainers; [ "rewine" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maintainers = with maintainers; [ "rewine" ]; | |
maintainers = with maintainers; [ rewine ]; |
homepage = "https://srain.im"; | ||
license = licenses.gpl3; | ||
platforms = platforms.linux; | ||
maintainers = with maintainers; [ "rewine" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maintainers = with maintainers; [ "rewine" ]; | |
maintainers = with maintainers; [ rewine ]; |
Motivation for this change
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)