nixpkgs/pkgs/applications/window-managers/picom/picom-allusive.nix
IogaMaster 7ed97be362 picom-allusive: 0.3.2 -> 1.2.5
Co-authored-by: Allusive <99632976+allusive-dev@users.noreply.github.com>
2023-11-02 20:31:45 -06:00

27 lines
869 B
Nix

{ picom, lib, fetchFromGitHub, installShellFiles }:
picom.overrideAttrs (oldAttrs: rec {
pname = "picom-allusive";
version = "1.2.5";
src = fetchFromGitHub {
owner = "allusive-dev";
repo = "picom-allusive";
rev = version;
hash = "sha256-yM4TJjoVs+i33m/u/oWlx1TDKJrgwlfiGu72DOL/tl8=";
};
nativeBuildInputs = [ installShellFiles ] ++ oldAttrs.nativeBuildInputs;
postInstall = ''
installManPage $src/man/picom.1.gz
'' + (lib.optionalString (oldAttrs ? postInstall) oldAttrs.postInstall);
meta = (builtins.removeAttrs oldAttrs.meta [ "longDescription" ]) // {
description = "A fork of picom featuring improved animations and other features";
homepage = "https://github.com/allusive-dev/picom-allusive";
license = with lib.licenses; [ mit mpl20 ];
maintainers = with lib.maintainers; [ allusive iogamaster ];
};
})