diff options
author | YvesStraten <yves.straten@gmail.com> | 2024-06-17 09:16:17 +0800 |
---|---|---|
committer | YvesStraten <yves.straten@gmail.com> | 2024-06-20 09:11:29 +0800 |
commit | a4507a898f7433590a818837497239ffb37d082d (patch) | |
tree | 054108fdcb35ea5aafeffc6df5731e8cdc626628 | |
parent | 6e5c9a8064826812096631ff364eb3622fa7efa6 (diff) |
picom-pijulius: 8.2-unstable-2024-04-30 -> 8.2-unstable-2024-06-13
-rw-r--r-- | pkgs/by-name/pi/picom-pijulius/package.nix | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/pkgs/by-name/pi/picom-pijulius/package.nix b/pkgs/by-name/pi/picom-pijulius/package.nix index bb41a7d221afb..998514b3f9815 100644 --- a/pkgs/by-name/pi/picom-pijulius/package.nix +++ b/pkgs/by-name/pi/picom-pijulius/package.nix @@ -1,18 +1,20 @@ { picom, lib, + writeShellScript, fetchFromGitHub, - pcre + pcre, + unstableGitUpdater }: picom.overrideAttrs (previousAttrs: { pname = "picom-pijulius"; - version = "8.2-unstable-2024-04-30"; + version = "8.2-unstable-2024-06-13"; src = fetchFromGitHub { owner = "pijulius"; repo = "picom"; - rev = "e7b14886ae644aaa657383f7c4f44be7797fd5f6"; - hash = "sha256-YQVp5HicO+jbvCYSY+hjDTnXCU6aS3aCvbux6NFcJ/Y="; + rev = "a0e818855daba0d2f11a298f7fd238f8a6049167"; + hash = "sha256-w1SWYhPfFGX2EumEe8UBZA3atW4jvW54GsMYLGg59Ys="; }; buildInputs = (previousAttrs.buildInputs or [ ]) ++ [ pcre ]; @@ -29,4 +31,11 @@ picom.overrideAttrs (previousAttrs: { homepage = "https://github.com/pijulius/picom"; maintainers = with lib.maintainers; [ YvesStraten ]; }; + + passthru.updateScript = unstableGitUpdater { + tagFormat = "v([A-Z]+)([a-z]+)|v([1-9]).([1-9])|v([1-9])-rc([1-9])"; + tagConverter = writeShellScript "picom-pijulius-tag-converter.sh" '' +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' +''; + }; }) |