nixpkgs/pkgs/applications/window-managers/picom/picom-allusive.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
869 B
Nix
Raw Normal View History

2023-10-17 00:32:33 +00:00
{ picom, lib, fetchFromGitHub, installShellFiles }:
2023-10-09 05:43:27 +00:00
picom.overrideAttrs (oldAttrs: rec {
pname = "picom-allusive";
version = "1.2.5";
2023-10-09 05:43:27 +00:00
src = fetchFromGitHub {
owner = "allusive-dev";
repo = "picom-allusive";
rev = version;
hash = "sha256-yM4TJjoVs+i33m/u/oWlx1TDKJrgwlfiGu72DOL/tl8=";
2023-10-09 05:43:27 +00:00
};
2023-10-17 00:32:33 +00:00
nativeBuildInputs = [ installShellFiles ] ++ oldAttrs.nativeBuildInputs;
2023-10-09 05:43:27 +00:00
postInstall = ''
2023-10-17 00:32:33 +00:00
installManPage $src/man/picom.1.gz
2023-10-09 05:43:27 +00:00
'' + (lib.optionalString (oldAttrs ? postInstall) oldAttrs.postInstall);
meta = (builtins.removeAttrs oldAttrs.meta [ "longDescription" ]) // {
2023-10-09 05:43:27 +00:00
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 ];
2023-10-09 05:43:27 +00:00
};
})