about summary refs log tree commit diff
path: root/pkgs/applications/window-managers/picom/picom-allusive.nix
blob: a30efaab570f58b69c48f08103365f948de4c3d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ picom, lib, fetchFromGitHub }:

picom.overrideAttrs (oldAttrs: rec {
  pname = "picom-allusive";
  version = "0.3.2";

  src = fetchFromGitHub {
    owner = "allusive-dev";
    repo = "picom-allusive";
    rev = version;
    hash = "sha256-1zWntz2QKp/O9ZuOUZy9NkCNXFsBqRRvcd0SAr+7G/o=";
  };

  postInstall = ''
    chmod +x $out/bin/picom-trans
  '' + (lib.optionalString (oldAttrs ? postInstall) oldAttrs.postInstall);

  meta = {
    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 ];
  };
})