picom-pijulius: nixfmt, order attrs

This commit is contained in:
Gutyina Gergő 2024-11-13 10:18:29 +01:00
parent 6cd4419ebe
commit 3d381bc1a3
No known key found for this signature in database

View File

@ -3,8 +3,9 @@
lib, lib,
writeShellScript, writeShellScript,
fetchFromGitHub, fetchFromGitHub,
unstableGitUpdater unstableGitUpdater,
}: }:
picom.overrideAttrs (previousAttrs: { picom.overrideAttrs (previousAttrs: {
pname = "picom-pijulius"; pname = "picom-pijulius";
version = "8.2-unstable-2024-11-12"; version = "8.2-unstable-2024-11-12";
@ -18,23 +19,25 @@ picom.overrideAttrs (previousAttrs: {
dontVersionCheck = true; dontVersionCheck = true;
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'
'';
};
meta = { meta = {
inherit (previousAttrs.meta) inherit (previousAttrs.meta)
license license
platforms
mainProgram
longDescription longDescription
mainProgram
platforms
; ;
description = "Pijulius's picom fork with extensive animation support"; description = "Pijulius's picom fork with extensive animation support";
homepage = "https://github.com/pijulius/picom"; homepage = "https://github.com/pijulius/picom";
maintainers = with lib.maintainers; [ YvesStraten ]; 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'
'';
}; };
}) })