sxmo-utils.stable: remove

i don't use this. upstream doesn't tag releases enough for it to be useful.
This commit is contained in:
Colin 2023-11-19 23:40:56 +00:00
parent f2aea2c201
commit 2720ccc1fc
2 changed files with 41 additions and 133 deletions

View File

@ -2,90 +2,7 @@
, fetchpatch
}:
let
patches = {
merged = [
(fetchpatch {
# merged post 1.14.2
# [1/2] sxmo_init: behave well when user's primary group differs from their name
# [2/2] sxmo_init: ensure XDG_STATE_HOME exists
url = "https://lists.sr.ht/~mil/sxmo-devel/patches/42309/mbox";
hash = "sha256-GVWJWTccZeaKsVtsUyZFYl9/qEwJ5U7Bu+DiTDXLjys=";
})
(fetchpatch {
# merged post 1.14.2
# sxmo_hook_block_suspend: don't assume there's only one MPRIS player
url = "https://lists.sr.ht/~mil/sxmo-devel/patches/42441/mbox";
hash = "sha256-YmkJ4JLIG/mHosRlVQqvWzujFMBsuDf5nVT3iOi40zU=";
})
(fetchpatch {
# merged post 1.14.2
# i only care about patch no. 2
# [1/2] suspend toggle: silence rm failure noise
# [2/2] config: fix keyboard files location
name = "multipatch: 42880";
url = "https://lists.sr.ht/~mil/sxmo-devel/patches/42880/mbox";
hash = "sha256-tAMPBb6vwzj1dFMTEaqrcCJU6FbQirwZgB0+tqW3rQA=";
})
(fetchpatch {
# merged post 1.14.2
name = "Switch from light to brightnessctl";
url = "https://git.sr.ht/~mil/sxmo-utils/commit/d0384a7caed036d25228fa3279c36c0230795e4a.patch";
hash = "sha256-/UlcuEI5cJnsqRuZ1zWWzR4dyJw/zYeB1rtJWFeSGEE=";
})
(fetchpatch {
# merged post 1.14.2
name = "sxmo_hook_lock: allow configuration of auto-screenoff timeout v1";
url = "https://lists.sr.ht/~mil/sxmo-devel/patches/42443/mbox";
hash = "sha256-c4VySbVJgsbh2h+CnCgwWWe5WkAregpYFqL8n3WRXwY=";
})
(fetchpatch {
# merged post 1.14.2
name = "sxmo_wmmenu: respect SXMO_WORKSPACE_WRAPPING";
url = "https://lists.sr.ht/~mil/sxmo-devel/patches/42698/mbox";
hash = "sha256-TrTlrthrpYdIMC8/RCMNaB8PcGQgtya/h2/uLNQDeWs=";
})
(fetchpatch {
# merged ~2023/08/22
name = "Make config gesture toggle persistent";
url = "https://lists.sr.ht/~mil/sxmo-devel/patches/42876/mbox";
hash = "sha256-Oa0MI0Kt9Xgl5L1KarHI6Yn4+vpRxUSujB1iY4hlK9c=";
})
(fetchpatch {
# merged ~2023/08/29
# [1/2] Makefile: obey PREFIX when installing udev rules
# [2/2] Makefile: use SYSCONFDIR instead of hardcoding /etc
name = "44110-multipatch-makefile-nixos";
url = "https://lists.sr.ht/~mil/sxmo-devel/patches/44110/mbox";
hash = "sha256-jXtwgOVGSjwWj7a36F6P+e63lKvk4OmFIzxTkf9yZMs=";
})
(fetchpatch {
# merged ~2023/10/04
name = ''sxmo_wmmenu.sh: add "Kill window" option'';
url = "https://lists.sr.ht/~mil/sxmo-devel/patches/45263/mbox";
hash = "sha256-qDvlLecAjxcKXP7tvhMnySkWPkj6oV0Z0Qm3kudazdk=";
})
(fetchpatch {
# merged ~2023/10/08
name = "suspend: block if Dino is in a call";
url = "https://lists.sr.ht/~mil/sxmo-devel/patches/45470/mbox";
hash = "sha256-ev+NLR4g68MWB4RENh7mCth02lTaXxCIAL/af5l8Mrw=";
})
(fetchpatch {
# merged ~2023/10/11
name = "autorotate: allow all four orientations";
url = "https://lists.sr.ht/~mil/sxmo-devel/patches/45541/mbox";
hash = "sha256-7oT5Y4JynyDvrojgdcpASvZ1sYo7U+1jBpPswuBkEX8=";
})
];
unmerged = [
# (fetchpatch {
# XXX: doesn't apply cleanly to 1.14.2 release
# # Don't wait for led or status bar in state change hooks
# # - significantly decreases the time between power-button state transitions
# url = "https://lists.sr.ht/~mil/sxmo-devel/patches/43109/mbox";
# hash = "sha256-4uR2u6pa62y6SaRHYRn15YGDPILAs7py0mPbAjsgwM4=";
# })
patches = [
(fetchpatch {
name = "sxmo_migrate: add option to disable configversion checks";
url = "https://lists.sr.ht/~mil/sxmo-devel/patches/44155/mbox";
@ -99,9 +16,7 @@ let
url = "https://git.uninsane.org/colin/sxmo-utils/commit/124f8fed85c3ff89ab45f1c21569bcc034d07693.patch";
hash = "sha256-GteXFZCuRpIXuYrEdEraIhzCm1b4vNJgh3Lmg+Qjeqk=";
})
];
# these don't apply cleanly to the stable release; only to latest
unmerged-tip-only = [
# TODO: send these upstream
(fetchpatch {
name = "sxmo_hook_apps: add a few";
@ -129,17 +44,11 @@ let
# hash = "sha256-dc71eztkXaZyy+hm5teCw9lI9hKS68pPoP53KiBm5Fg=";
# })
];
};
in {
stable = callPackage ./common.nix {
version = "1.14.2";
hash = "sha256-1bGCUhf/bt9I8BjG/G7sjYBzLh28iZSC20ml647a3J4=";
patches = patches.merged ++ patches.unmerged;
};
latest = callPackage ./common.nix {
version = "unstable-2023-10-10";
rev = "c33408abb560dac52de52d878840945c12a75a32";
hash = "sha256-VYUYN5S6qmsNpxMq7xFfgsGcbjIjqvuj36AG+NeMHTM=";
patches = patches.unmerged ++ patches.unmerged-tip-only;
inherit patches;
};
}

View File

@ -61,7 +61,6 @@ let
static-nix-shell = callPackage ./additional/static-nix-shell { };
sublime-music-mobile = callPackage ./additional/sublime-music-mobile { };
sxmo-utils' = lib.recurseIntoAttrs (callPackage ./additional/sxmo-utils { });
sxmo-utils = sxmo-utils'.stable;
sxmo-utils-latest = sxmo-utils'.latest;
tow-boot-pinephone = callPackage ./additional/tow-boot-pinephone { };
tree-sitter-nix-shell = callPackage ./additional/tree-sitter-nix-shell { };