fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
35 lines
818 B
Nix
35 lines
818 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, libxkbcommon
|
|
, nix-update-script
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rwpspread";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "0xk1f0";
|
|
repo = "rwpspread";
|
|
rev = "v${version}";
|
|
hash = "sha256-B8K8/M5cUSchG54ar0ZY2XOH6lYLimdZr+dk5ffdplY=";
|
|
};
|
|
cargoHash = "sha256-bTCXgaE8+nxuEFeOMSihL3lfmbIxiv1f400rmyV2b8k=";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ libxkbcommon ];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Multi-Monitor Wallpaper Utility";
|
|
homepage = "https://github.com/0xk1f0/rwpspread";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ nu-nu-ko ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "rwpspread";
|
|
};
|
|
}
|