Unverified Commit 31267d61 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #261530 from eclairevoyant/picom-allusive

picom-allusive: install manpage, fix meta
parents edad0ccb c3c0fe45
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
{ picom, lib, fetchFromGitHub }:
{ picom, lib, fetchFromGitHub, installShellFiles }:

picom.overrideAttrs (oldAttrs: rec {
  pname = "picom-allusive";
@@ -11,11 +11,14 @@ picom.overrideAttrs (oldAttrs: rec {
    hash = "sha256-1zWntz2QKp/O9ZuOUZy9NkCNXFsBqRRvcd0SAr+7G/o=";
  };

  nativeBuildInputs = [ installShellFiles ] ++ oldAttrs.nativeBuildInputs;

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

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