add wshowkeys module and package

This commit is contained in:
ulic-youthlic 2025-05-23 00:08:35 +08:00
parent 2afb64528d
commit 73ff50db30
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
13 changed files with 82 additions and 39 deletions

View file

@ -1,7 +1,7 @@
{
"TrackersListCollection": {
"cargoLocks": null,
"date": "2025-05-22",
"date": "2025-05-23",
"extract": null,
"name": "TrackersListCollection",
"passthru": null,
@ -13,14 +13,14 @@
"name": null,
"owner": "XIU2",
"repo": "TrackersListCollection",
"rev": "89d1e855ada9fa4e136759c1f2d9f83e4077fa9b",
"sha256": "sha256-2ZctoHyfyDCMuqLlMWoy8BIuZff5fAivtsVPLoVef9I=",
"rev": "74575fc44d1d22d777806bec075ae0473b46c5ba",
"sha256": "sha256-RqMdfIv/OzhDITkd48b8jNgmsGPJxZR+CAs7flmTrXw=",
"sparseCheckout": [
"all.txt"
],
"type": "github"
},
"version": "89d1e855ada9fa4e136759c1f2d9f83e4077fa9b"
"version": "74575fc44d1d22d777806bec075ae0473b46c5ba"
},
"dioxionary": {
"cargoLocks": {
@ -176,5 +176,26 @@
"url": "https://github.com/kayhide/tree-sitter-idris"
},
"version": "c56a25cf57c68ff929356db25505c1cc4c7820f6"
},
"wshowkeys-mao": {
"cargoLocks": null,
"date": "2025-02-03",
"extract": null,
"name": "wshowkeys-mao",
"passthru": null,
"pinned": false,
"src": {
"deepClone": false,
"fetchSubmodules": false,
"leaveDotGit": false,
"name": null,
"owner": "DreamMaoMao",
"repo": "wshowkeys",
"rev": "24364e5f40b7ccbed728fe88757f559d84fae234",
"sha256": "sha256-I1nnwaE1Wr1b5EzQ4CP5sDCY8ZBaxP2FYZdIsKcVXL4=",
"sparseCheckout": [],
"type": "github"
},
"version": "24364e5f40b7ccbed728fe88757f559d84fae234"
}
}

View file

@ -3,18 +3,18 @@
{
TrackersListCollection = {
pname = "TrackersListCollection";
version = "89d1e855ada9fa4e136759c1f2d9f83e4077fa9b";
version = "74575fc44d1d22d777806bec075ae0473b46c5ba";
src = fetchFromGitHub {
owner = "XIU2";
repo = "TrackersListCollection";
rev = "89d1e855ada9fa4e136759c1f2d9f83e4077fa9b";
rev = "74575fc44d1d22d777806bec075ae0473b46c5ba";
fetchSubmodules = false;
deepClone = false;
leaveDotGit = false;
sparseCheckout = [ "all.txt" ];
sha256 = "sha256-2ZctoHyfyDCMuqLlMWoy8BIuZff5fAivtsVPLoVef9I=";
sha256 = "sha256-RqMdfIv/OzhDITkd48b8jNgmsGPJxZR+CAs7flmTrXw=";
};
date = "2025-05-22";
date = "2025-05-23";
};
dioxionary = {
pname = "dioxionary";
@ -117,4 +117,16 @@
name = "idris";
date = "2024-11-05";
};
wshowkeys-mao = {
pname = "wshowkeys-mao";
version = "24364e5f40b7ccbed728fe88757f559d84fae234";
src = fetchFromGitHub {
owner = "DreamMaoMao";
repo = "wshowkeys";
rev = "24364e5f40b7ccbed728fe88757f559d84fae234";
fetchSubmodules = false;
sha256 = "sha256-I1nnwaE1Wr1b5EzQ4CP5sDCY8ZBaxP2FYZdIsKcVXL4=";
};
date = "2025-02-03";
};
}

View file

@ -15,6 +15,7 @@ in
spotifyx = callPackage ./spotifyx.nix {};
radicle-explorer = callPackage ./radicle-explorer {};
TrackersListCollection = callPackage ./TrackersListCollection.nix {};
wshowkeys-mao = callPackage ./wshowkeys-mao.nix {};
noto-serif-cjk = callPackage ./noto-serif-cjk.nix {};
noto-sans-cjk = callPackage ./noto-sans-cjk.nix {};

View file

@ -34,3 +34,7 @@ fetch.github = "SpotX-Official/SpotX-Bash"
src.git = "https://github.com/XIU2/TrackersListCollection.git"
fetch.github = "XIU2/TrackersListCollection"
git.sparseCheckout = ["all.txt"]
[wshowkeys-mao]
src.git = "https://github.com/DreamMaoMao/wshowkeys.git"
fetch.github = "DreamMaoMao/wshowkeys"

11
pkgs/wshowkeys-mao.nix Normal file
View file

@ -0,0 +1,11 @@
{
pkgs,
srcs,
}: let
inherit (srcs) wshowkeys-mao;
in
pkgs.wshowkeys.overrideAttrs (final: prev: {
inherit (wshowkeys-mao) src;
pname = "wshowkeys-mao";
version = wshowkeys-mao.date + "-" + wshowkeys-mao.version;
})