nixos/wyoming/{faster-whisper,piper}: drop download directory (#376447)
[NixPkgs.git] / pkgs / by-name / pi / picom-pijulius / package.nix
blobed81f6b28dda88f8d2d3dc5dd866ee6f43a0e435
2   picom,
3   lib,
4   writeShellScript,
5   fetchFromGitHub,
6   unstableGitUpdater,
7 }:
9 picom.overrideAttrs (previousAttrs: {
10   pname = "picom-pijulius";
11   version = "8.2-unstable-2024-12-05";
13   src = fetchFromGitHub {
14     owner = "pijulius";
15     repo = "picom";
16     rev = "9b7d7bdaee0c697f416e3d6b41f1453aeaa07c78";
17     hash = "sha256-9HCtbRwDrjB/i89O5igPdyxHo8AKiznltrjTdBjenlk=";
18   };
20   dontVersionCheck = true;
22   passthru.updateScript = unstableGitUpdater {
23     tagFormat = "v([A-Z]+)([a-z]+)|v([1-9]).([1-9])|v([1-9])-rc([1-9])";
24     tagConverter = writeShellScript "picom-pijulius-tag-converter.sh" ''
25       sed -e 's/v//g' -e 's/([A-Z])([a-z])+/8.2/g' -e 's/-rc([1-9])|-rc//g' -e 's/0/8.2/g'
26     '';
27   };
29   meta = {
30     inherit (previousAttrs.meta)
31       license
32       longDescription
33       mainProgram
34       platforms
35       ;
37     description = "Pijulius's picom fork with extensive animation support";
38     homepage = "https://github.com/pijulius/picom";
39     maintainers = with lib.maintainers; [
40       YvesStraten
41     ];
42   };