Merge pull request #316783 from YvesStraten/update/picom-pijulius

picom-pijulius: 8.2-unstable-2024-04-30 -> 8.2-unstable-2024-06-13
This commit is contained in:
Masum Reza 2024-06-20 18:01:27 +05:30 committed by GitHub
commit cb3cfc2563
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'
'';
};
})