25 lines
696 B
Nix
25 lines
696 B
Nix
|
{ picom, lib, fetchFromGitHub }:
|
||
|
|
||
|
picom.overrideAttrs (oldAttrs: rec {
|
||
|
pname = "picom-allusive";
|
||
|
version = "0.3.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "allusive-dev";
|
||
|
repo = "picom-allusive";
|
||
|
rev = version;
|
||
|
hash = "sha256-lk4Ll0mi9h3BAqwgOzFQw4WYKnSW9XTl3PjoK2E4WKg=";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
})
|