1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
tgcMaintainers,
lib,
pkgs,
fetchFromSourcehut,
pkg-config,
...
}:
pkgs.unstable.rustPlatform.buildRustPackage (finalAttrs: {
pname = "nirius";
version = "0.4.2";
rev = "${finalAttrs.pname}-${finalAttrs.version}";
srcHash = "sha256-P6WDkYYA9aGekG8yb1xZ9scpex3AcqrUIakFe7r0M4M=";
src = fetchFromSourcehut {
owner = "~tsdh";
repo = finalAttrs.pname;
hash = finalAttrs.srcHash;
inherit (finalAttrs) rev;
};
cargoLock = {
lockFile = "${finalAttrs.src}/Cargo.lock";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [ ];
meta = {
mainProgram = finalAttrs.pname;
description = "Utility commands for the niri wayland compositor";
homepage = "https://git.sr.ht/~tsdh/nirius";
license = [ lib.licenses.gpl3 ];
platforms = lib.platforms.linux;
maintainers = [ tgcMaintainers.zaphyra ];
};
})