Loading pkgs/tools/wayland/swww/default.nix +37 −4 Original line number Diff line number Diff line { lib, fetchFromGitHub, rustPlatform, pkg-config, lz4, libxkbcommon }: { lib , fetchFromGitHub , rustPlatform , pkg-config , lz4 , libxkbcommon , installShellFiles , scdoc }: rustPlatform.buildRustPackage rec { pname = "swww"; version = "0.8.1"; Loading @@ -11,15 +20,39 @@ rustPlatform.buildRustPackage rec { }; cargoSha256 = "sha256-AE9bQtW5r1cjIsXA7YEP8TR94wBjaM7emOroVFq9ldE="; buildInputs = [ lz4 libxkbcommon ]; buildInputs = [ lz4 libxkbcommon ]; doCheck = false; # Integration tests do not work in sandbox environment nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config installShellFiles scdoc ]; postInstall = '' for f in doc/*.scd; do local page="doc/$(basename "$f" .scd)" scdoc < "$f" > "$page" installManPage "$page" done installShellCompletion --cmd swww \ --bash <(cat completions/swww.bash) \ --fish <(cat completions/swww.fish) \ --zsh <(cat completions/_swww) ''; 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 ]; maintainers = with maintainers; [ mateodd25 donovanglover ]; platforms = platforms.linux; mainProgram = "swww"; }; } Loading
pkgs/tools/wayland/swww/default.nix +37 −4 Original line number Diff line number Diff line { lib, fetchFromGitHub, rustPlatform, pkg-config, lz4, libxkbcommon }: { lib , fetchFromGitHub , rustPlatform , pkg-config , lz4 , libxkbcommon , installShellFiles , scdoc }: rustPlatform.buildRustPackage rec { pname = "swww"; version = "0.8.1"; Loading @@ -11,15 +20,39 @@ rustPlatform.buildRustPackage rec { }; cargoSha256 = "sha256-AE9bQtW5r1cjIsXA7YEP8TR94wBjaM7emOroVFq9ldE="; buildInputs = [ lz4 libxkbcommon ]; buildInputs = [ lz4 libxkbcommon ]; doCheck = false; # Integration tests do not work in sandbox environment nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config installShellFiles scdoc ]; postInstall = '' for f in doc/*.scd; do local page="doc/$(basename "$f" .scd)" scdoc < "$f" > "$page" installManPage "$page" done installShellCompletion --cmd swww \ --bash <(cat completions/swww.bash) \ --fish <(cat completions/swww.fish) \ --zsh <(cat completions/_swww) ''; 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 ]; maintainers = with maintainers; [ mateodd25 donovanglover ]; platforms = platforms.linux; mainProgram = "swww"; }; }