wpaperd: 0.3.0 -> 1.0.1 & mv to by-name

This commit is contained in:
nuko 2024-04-24 12:02:42 +12:00
parent 595998e93c
commit b4f1988038
No known key found for this signature in database
3 changed files with 9 additions and 2060 deletions

View File

@ -1,35 +1,27 @@
{ lib, rustPlatform, fetchFromGitHub, pkg-config, libxkbcommon }: { lib, rustPlatform, fetchFromGitHub, pkg-config, libxkbcommon, wayland, libGL }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "wpaperd"; pname = "wpaperd";
version = "0.3.0"; version = "1.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "danyspin97"; owner = "danyspin97";
repo = pname; repo = "wpaperd";
rev = version; rev = version;
sha256 = "cgjHCSBrkX3aoz42qBS/1JUGhc7sZKarKByntp7ubaQ="; hash = "sha256-5riZ/6yjgsW++SUIyJP5rFG65tkjJKgtvDLIGaoiHN0=";
}; };
cargoHash = "sha256-EkCGLxUQeSCR88Y95Hog9TAjpYMmZHlOqEM//ENiCco=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
]; ];
buildInputs = [ buildInputs = [
wayland
libGL
libxkbcommon 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; { meta = with lib; {
description = "Minimal wallpaper daemon for Wayland"; description = "Minimal wallpaper daemon for Wayland";
longDescription = '' longDescription = ''
@ -41,7 +33,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/danyspin97/wpaperd"; homepage = "https://github.com/danyspin97/wpaperd";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ DPDmancul ]; maintainers = with maintainers; [ DPDmancul nu-nu-ko ];
mainProgram = "wpaperd"; mainProgram = "wpaperd";
}; };
} }

File diff suppressed because it is too large Load Diff

View File

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