Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

picom-pijulius: 8.2-unstable-2024-04-30 -> 8.2-unstable-2024-06-13 #316783

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
picom-pijulius: 8.2-unstable-2024-04-30 -> 8.2-unstable-2024-06-13
  • Loading branch information
YvesStraten committed Jun 20, 2024
commit a4507a898f7433590a818837497239ffb37d082d
17 changes: 13 additions & 4 deletions pkgs/by-name/pi/picom-pijulius/package.nix
Original file line number Diff line number Diff line change
@@ -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 ];
Expand All @@ -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'
'';
};
})