Merge pull request #306417 from nu-nu-ko/update-wpaperd

wpaperd: 0.3.0 -> 1.0.1 & mv to by-name
This commit is contained in:
Aleksana 2024-05-03 16:31:59 +08:00 committed by GitHub
commit 8815449d5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 2060 deletions

View File

@ -380,6 +380,8 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
- `halloy` package was updated past 2024.5 which introduced a breaking change by switching the config format from YAML to TOML. See https://github.com/squidowl/halloy/releases/tag/2024.5 for details.
- The `wpaperd` package has a breaking change moving to 1.0.1, previous version 0.3.0 had 2 different configuration files, one for wpaperd and one for the wallpapers. Remove the former and move the latter (`wallpaper.toml`) to `config.toml`.
- Ada packages (libraries and tools) have been moved into the `gnatPackages` scope. `gnatPackages` uses the default GNAT compiler, `gnat12Packages` and `gnat13Packages` use the respective matching compiler version.
- Paths provided as `restartTriggers` and `reloadTriggers` for systemd units will now be copied into the nix store to make the behavior consistent.

View File

@ -1,35 +1,27 @@
{ lib, rustPlatform, fetchFromGitHub, pkg-config, libxkbcommon }:
{ lib, rustPlatform, fetchFromGitHub, pkg-config, libxkbcommon, wayland, libGL }:
rustPlatform.buildRustPackage rec {
pname = "wpaperd";
version = "0.3.0";
version = "1.0.1";
src = fetchFromGitHub {
owner = "danyspin97";
repo = pname;
repo = "wpaperd";
rev = version;
sha256 = "cgjHCSBrkX3aoz42qBS/1JUGhc7sZKarKByntp7ubaQ=";
hash = "sha256-5riZ/6yjgsW++SUIyJP5rFG65tkjJKgtvDLIGaoiHN0=";
};
cargoHash = "sha256-EkCGLxUQeSCR88Y95Hog9TAjpYMmZHlOqEM//ENiCco=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
wayland
libGL
libxkbcommon
];
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"smithay-client-toolkit-0.16.0" = "iPDL7pxTez4EnIBaUH25lLSWpu3RRL2QBF9pfdTDsP8=";
};
};
postPatch = ''
rm Cargo.lock
ln -s ${./Cargo.lock} Cargo.lock
'';
meta = with lib; {
description = "Minimal wallpaper daemon for Wayland";
longDescription = ''
@ -41,7 +33,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/danyspin97/wpaperd";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ DPDmancul ];
maintainers = with maintainers; [ DPDmancul nu-nu-ko ];
mainProgram = "wpaperd";
};
}

File diff suppressed because it is too large Load Diff

View File

@ -4776,8 +4776,6 @@ with pkgs;
wob = callPackage ../tools/wayland/wob { };
wpaperd = callPackage ../tools/wayland/wpaperd { };
wshowkeys = callPackage ../tools/wayland/wshowkeys { };
wtype = callPackage ../tools/wayland/wtype { };