cosmic-osd: 1.0.0-alpha.7 -> 1.0.0-beta.1
Diff: https://github.com/pop-os/cosmic-osd/compare/refs/tags/epoch-1.0.0-alpha.7...epoch-1.0.0-beta.1
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
sound-theme-freedesktop,
|
||||
rustPlatform,
|
||||
libcosmicAppHook,
|
||||
pulseaudio,
|
||||
pipewire,
|
||||
libinput,
|
||||
udev,
|
||||
nix-update-script,
|
||||
nixosTests,
|
||||
@@ -12,28 +13,28 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "cosmic-osd";
|
||||
version = "1.0.0-alpha.7";
|
||||
version = "1.0.0-beta.1";
|
||||
|
||||
# nixpkgs-update: no auto update
|
||||
src = fetchFromGitHub {
|
||||
owner = "pop-os";
|
||||
repo = "cosmic-osd";
|
||||
tag = "epoch-${finalAttrs.version}";
|
||||
hash = "sha256-POjuxrNBajp4IOw7YwF2TS4OfoM8Hxo1fO48nkhKj8U=";
|
||||
hash = "sha256-+NwsMCOZeZlPcVVQv3WzRj8vAM8P8qPGsOMaTACVEFQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/components/app.rs \
|
||||
--replace-fail '/usr/share/sounds/freedesktop/stereo/audio-volume-change.oga' '${sound-theme-freedesktop}/share/sounds/freedesktop/stereo/audio-volume-change.oga'
|
||||
'';
|
||||
cargoHash = "sha256-YcNvvK+Zf8nSS5YjS5iaoipogstiyBdNY7LhWPsz9xQ=";
|
||||
|
||||
cargoHash = "sha256-kfExKggQo3MoTXw1JbKWjLu5kwYF0n7DzSQcG6e1+QQ=";
|
||||
|
||||
nativeBuildInputs = [ libcosmicAppHook ];
|
||||
nativeBuildInputs = [
|
||||
libcosmicAppHook
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pulseaudio
|
||||
udev
|
||||
libinput
|
||||
pipewire
|
||||
];
|
||||
|
||||
env.POLKIT_AGENT_HELPER_1 = "/run/wrappers/bin/polkit-agent-helper-1";
|
||||
|
||||
Reference in New Issue
Block a user