2023-10-19 13:55:26 +00:00
|
|
|
{ picom, lib, fetchFromGitHub, installShellFiles }:
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
picom.overrideAttrs (oldAttrs: rec {
|
|
|
|
pname = "picom-allusive";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.2.5";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "allusive-dev";
|
|
|
|
repo = "picom-allusive";
|
|
|
|
rev = version;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-yM4TJjoVs+i33m/u/oWlx1TDKJrgwlfiGu72DOL/tl8=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
nativeBuildInputs = [ installShellFiles ] ++ oldAttrs.nativeBuildInputs;
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
postInstall = ''
|
2023-10-19 13:55:26 +00:00
|
|
|
installManPage $src/man/picom.1.gz
|
2023-10-09 19:29:22 +00:00
|
|
|
'' + (lib.optionalString (oldAttrs ? postInstall) oldAttrs.postInstall);
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
meta = (builtins.removeAttrs oldAttrs.meta [ "longDescription" ]) // {
|
2023-10-09 19:29:22 +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 ];
|
2023-11-16 04:20:00 +00:00
|
|
|
maintainers = with lib.maintainers; [ allusive iogamaster ];
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
})
|