rix101/pkgs/swww/default.nix
reo101 0879b52630
feat!(flake): update homix
Add more & generalize flake outputs:
    - templates: just a `default.nix` (TODO: add a `Haskell` template)
    - packages & devShells: create and use `forEachPkgs`
Add more `Wayland` things for `homix`:
    - `swww` - custom package + custom systemd service (TODO: abstract away)
    - `wired` - from flake + `home-manager` module
Add default `imports` and `nixokgs.overlays` for `reo101@homix`
    -- TODO: don't handwire it, somehow *auto-import* from `mkNixosHost` in `flake.nix`
2023-02-12 01:54:27 +02:00

32 lines
695 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 = [ maintainers.reo101 ];
};
}