32 lines
700 B
Nix
32 lines
700 B
Nix
{ lib, fetchFromGitHub, rustPlatform, pkg-config, libxkbcommon }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "swww";
|
|
version = "v0.9.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Horus645";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-ldy9HhIsWdtTdvtRLV3qDT80oX646BI4Q+YX5wJXbsc=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-ZjFeKh9/kGI8EBVe99jGdLoeA1Pun4aYWwLyMwOJCrU=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
libxkbcommon
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "A Solution to your Wayland Wallpaper Woes";
|
|
homepage = "https://github.com/Horus645/swww";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ reo101 ];
|
|
};
|
|
}
|