2024-02-29 20:09:43 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, libxkbcommon
|
|
|
|
, nix-update-script
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rwpspread";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "0.3.0";
|
2024-02-29 20:09:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "0xk1f0";
|
|
|
|
repo = "rwpspread";
|
|
|
|
rev = "v${version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-B8K8/M5cUSchG54ar0ZY2XOH6lYLimdZr+dk5ffdplY=";
|
2024-02-29 20:09:43 +00:00
|
|
|
};
|
2024-06-05 15:53:02 +00:00
|
|
|
cargoHash = "sha256-bTCXgaE8+nxuEFeOMSihL3lfmbIxiv1f400rmyV2b8k=";
|
2024-02-29 20:09:43 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2024-02-29 20:09:43 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
buildInputs = [ libxkbcommon ];
|
2024-02-29 20:09:43 +00:00
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Multi-Monitor Wallpaper Utility";
|
|
|
|
homepage = "https://github.com/0xk1f0/rwpspread";
|
|
|
|
license = lib.licenses.gpl3Only;
|
2024-06-20 14:57:18 +00:00
|
|
|
maintainers = with lib.maintainers; [ fsnkty ];
|
2024-02-29 20:09:43 +00:00
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
mainProgram = "rwpspread";
|
|
|
|
};
|
|
|
|
}
|