Skip to content

Commit 9e8ae85

Browse files
moonshine: 0.13.5 -> 0.15.0 (#546531)
2 parents 8be7bd0 + 586cd05 commit 9e8ae85

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

pkgs/by-name/mo/moonshine/package.nix

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,25 @@ let
2323
inputtino-src = fetchFromGitHub {
2424
owner = "games-on-whales";
2525
repo = "inputtino";
26-
rev = "f4ce2b0df536ef309e9ff318f75b460f7097d7c1";
27-
hash = "sha256-mAAXbIK7aNSLyN7OZX9YeesMvT6OZmT9uAx0md6pyRM=";
26+
rev = "d28ec79eb63324e68d73a7de22bcb5ff0a6f6bf8";
27+
hash = "sha256-xzDsJggQVX5e1twwNvqw5hDXei6OMYA4s5zU4zfp/H0=";
2828
};
2929
in
3030
rustPlatform.buildRustPackage (finalAttrs: {
3131
pname = "moonshine";
32-
version = "0.13.5";
32+
version = "0.15.0";
3333

3434
src = fetchFromGitHub {
3535
owner = "hgaiser";
3636
repo = "moonshine";
3737
tag = "v${finalAttrs.version}";
38-
hash = "sha256-DwRUVMAm4fSqZu6jECeasiRpnwBt7thWkXzztNRIjcs=";
38+
hash = "sha256-TvL3s738wooQwZfBKyCqp0V8qcYFtJL98tsxlSX8fLM=";
3939
};
4040

4141
__structuredAttrs = true;
4242
strictDeps = true;
4343

44-
cargoHash = "sha256-M/VNPnccqK3koa0TeMd+tml79O7BKLxHmrGcGPemGhI=";
44+
cargoHash = "sha256-PAC8PcGOXxFNN8Eeiik4JrXeH2H+YcqRaBpJVtUoZ44=";
4545

4646
# Build Moonshine binary and Vulkan layer
4747
cargoBuildFlags = [
@@ -88,6 +88,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
8888
8989
# udev rules for input
9090
install -Dm644 dist/60-moonshine.rules "$out/lib/udev/rules.d/60-moonshine.rules"
91+
92+
# polkit rule for sleep inhibitor
93+
install -Dm644 dist/50-moonshine-inhibit-sleep.rules \
94+
"$out/share/polkit-1/rules.d/50-moonshine-inhibit-sleep.rules"
9195
'';
9296

9397
postFixup = ''
@@ -118,7 +122,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
118122
homepage = "https://github.com/hgaiser/moonshine";
119123
changelog = "https://github.com/hgaiser/moonshine/releases/tag/v${finalAttrs.version}";
120124
license = lib.licenses.bsd2;
121-
maintainers = with lib.maintainers; [ neobrain ];
125+
maintainers = with lib.maintainers; [
126+
neobrain
127+
anish
128+
];
122129
mainProgram = "moonshine";
123130
platforms = lib.platforms.linux;
124131
};

0 commit comments

Comments
 (0)