mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
26 lines
842 B
Nix
26 lines
842 B
Nix
{ config, lib, pkgs, fetchFromGitHub, rustPlatform, pkg-config, lz4, libxkbcommon }:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "swww";
|
|
version = "0.7.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Horus645";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-58zUi6tftTvNoc/R/HO4RDC7n+NODKOrBCHH8QntKSY=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-hL5rOf0G+UBO8kyRXA1TqMCta00jGSZtF7n8ibjGi9k=";
|
|
buildInputs = [ lz4 libxkbcommon ];
|
|
doCheck = false; # Integration tests do not work in sandbox environment
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
meta = with lib; {
|
|
description = "Efficient animated wallpaper daemon for wayland, controlled at runtime";
|
|
homepage = "https://github.com/Horus645/swww";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ mateodd25 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|