Skip to content

Commit

Permalink
picom-pijulius: 8.2-unstable-2024-04-30 -> 8.2-unstable-2024-06-13
Browse files Browse the repository at this point in the history
  • Loading branch information
YvesStraten committed Jun 20, 2024
1 parent 6e5c9a8 commit a4507a8
Showing 1 changed file with 13 additions and 4 deletions.
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'
'';
};
})

0 comments on commit a4507a8

Please sign in to comment.