Skip to content

Instantly share code, notes, and snippets.

@tylerjl
Created August 19, 2025 19:35
Show Gist options
  • Select an option

  • Save tylerjl/a7680c041c98d7cb1db2019e6256ab01 to your computer and use it in GitHub Desktop.

Select an option

Save tylerjl/a7680c041c98d7cb1db2019e6256ab01 to your computer and use it in GitHub Desktop.
default.nix
{ lib
, fetchFromSourcehut
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "nirius";
version = "0.4.1";
src = fetchFromSourcehut {
owner = "~tsdh";
repo = "nirius";
rev = "nirius-${version}";
sha256 = "sha256-w4ZNlCXtyRDGnQQFkxAIibc4TvQ8BSZsKIFGaNOrK94=";
};
cargoHash = "sha256-8Io3edeWvgb7LXEmXG2l2ESTLBeltHliyG8dD71j2K0=";
meta = with lib; {
description = "Utility commands for the niri wayland compositor";
mainProgram = "nirius";
homepage = "https://git.sr.ht/~tsdh/nirius";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ tylerjl ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment