Skip to content

nyrna: init at v2.26.0 #491786

Draft
last-genius wants to merge 2 commits into
NixOS:masterfrom
last-genius:master
Draft

nyrna: init at v2.26.0 #491786
last-genius wants to merge 2 commits into
NixOS:masterfrom
last-genius:master

Conversation

@last-genius

@last-genius last-genius commented Feb 18, 2026

Copy link
Copy Markdown

Introducing a new nyrna package - "Similar to the suspend mode on consoles, easily suspend and resume your PC games with the push of a button": https://nyrna.merritt.codes/

UPD: Waiting for v2.26.0, as that resolves the current build problem with one of the dependencies and Clang.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Signed-off-by: Andrii Sultanov <sultanovandriy@gmail.com>
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (new) This PR adds a new package 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle! 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` labels Feb 18, 2026
@qzylinra

Copy link
Copy Markdown
Contributor

The files need to be generated using build_runner before building.

@last-genius

Copy link
Copy Markdown
Author

The files need to be generated using build_runner before building.

Thank you, this fixed it!

Now I'm hitting issues with one of the dependencies and Clang 21. It's solved on trunk (Merrit/nyrna#249), but the fix hasn't been included in a new version yet. I've asked if v2.26.0 is going to be tagged anytime soon, keeping this as draft in the meantime.

Comment thread pkgs/by-name/ny/nyrna/package.nix Outdated
Similar to the suspend mode on consoles, easily suspend and resume your PC games with the push of a button.
'';
homepage = "https://nyrna.merritt.codes/";
license = lib.licenses.gpl3;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Only or Plus?

@last-genius last-genius Feb 19, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Comment thread pkgs/by-name/ny/nyrna/package.nix Outdated
meta = {
description = "Suspend games and applications.";
longDescription = ''
Similar to the suspend mode on consoles, easily suspend and resume your PC games with the push of a button.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

too short

Comment thread pkgs/by-name/ny/nyrna/package.nix Outdated
'';

meta = {
description = "Suspend games and applications.";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
description = "Suspend games and applications.";
description = "Suspend games and applications";

Comment thread pkgs/by-name/ny/nyrna/package.nix Outdated

gitHashes = lib.importJSON ./git-hashes.json;

nativeBuildInputs = [

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
nativeBuildInputs = [
buildInputs = [

Comment thread pkgs/by-name/ny/nyrna/package.nix Outdated

flutter335.buildFlutterApplication {
pname = "nyrna";
version = "v2.25.0";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
version = "v2.25.0";
version = "2.25.0";

must begin with a number

Signed-off-by: Andrii Sultanov <sultanovandriy@gmail.com>
@last-genius last-genius changed the title nyrna: init at v2.25.0 nyrna: init at v2.26.0 Feb 22, 2026
@last-genius

Copy link
Copy Markdown
Author

Moved to 2.26.0 (thanks to nixpkgs now packaging hotkey_manager_linux with the patch, however, had to change one the references to it in pubspec.lock.json back to 0.2.0 - upstream points to the same patch nix does and they conflict).

Was able to build the package, but not sure how to specify runtime dependencies of xdotool and wmctrl now - these are not linked dynamically but launched through the shell instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 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 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants