rix101/pkgs/swww/default.nix
reo101 df9ce2d4e2
feat!(flake): update homix
Update flake (`neovim-nightly-overlay` is fixed)
Format all `.nix` files
Unify package/module argument order:
    - `inputs`, `outputs`, `lib`, `pkgs`, `config`, ...
Move Jellyfin config to a `NixOS` module (first one, yay)
Add `direnv` to `reo101-shell` modules (was used, but not defined as wanted)
    - TODO: make it optional (module config options)
2023-02-13 00:33:57 +02:00

32 lines
701 B
Nix

{ lib, fetchFromGitHub, rustPlatform, pkg-config, libxkbcommon }:
rustPlatform.buildRustPackage rec {
pname = "swww";
version = "v0.7.1";
src = fetchFromGitHub {
owner = "Horus645";
repo = pname;
rev = version;
sha256 = "sha256-Z90Zwjqcu0hbtJwKPUNV996mtdgX//ZWWm+Dya/JV9A=";
};
cargoSha256 = "sha256-f6++5DazCqJjRuZquiJ5hdf9l+q6sOBZOL/vyQy1hA0";
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 ];
};
}