chore: Remove pkg cliphist since it updated

This commit is contained in:
ulic-youthlic 2026-01-21 10:18:16 +08:00
parent 0e866d659b
commit 3054cf7ae1
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
6 changed files with 1 additions and 89 deletions

View file

@ -43,27 +43,6 @@
},
"version": "aa13bda89bcd7deb9be26dc11a4cfb49543274b0"
},
"cliphist": {
"cargoLocks": null,
"date": "2025-10-11",
"extract": null,
"name": "cliphist",
"passthru": null,
"pinned": false,
"src": {
"deepClone": false,
"fetchSubmodules": false,
"leaveDotGit": false,
"name": null,
"owner": "sentriz",
"repo": "cliphist",
"rev": "efb61cb5b5a28d896c05a24ac83b9c39c96575f2",
"sha256": "sha256-y4FSl/Bj80XqCR0ZwjGEkqYUIF6zJHrYyy01XPFlzjU=",
"sparseCheckout": [],
"type": "github"
},
"version": "efb61cb5b5a28d896c05a24ac83b9c39c96575f2"
},
"noto-sans-cjk": {
"cargoLocks": null,
"date": null,
@ -210,4 +189,4 @@
},
"version": "184f55dbc5320c34a56d02353410ad35a0f3e090"
}
}
}

View file

@ -28,18 +28,6 @@
};
date = "2026-01-14";
};
cliphist = {
pname = "cliphist";
version = "efb61cb5b5a28d896c05a24ac83b9c39c96575f2";
src = fetchFromGitHub {
owner = "sentriz";
repo = "cliphist";
rev = "efb61cb5b5a28d896c05a24ac83b9c39c96575f2";
fetchSubmodules = false;
sha256 = "sha256-y4FSl/Bj80XqCR0ZwjGEkqYUIF6zJHrYyy01XPFlzjU=";
};
date = "2025-10-11";
};
noto-sans-cjk = {
pname = "noto-sans-cjk";
version = "Serif2.003";

View file

@ -30,10 +30,6 @@ src.git = "https://github.com/DreamMaoMao/wshowkeys.git"
fetch.github = "top-mind/OuterWildsTextAdventureWeb"
src.git = "https://github.com/top-mind/OuterWildsTextAdventureWeb.git"
[cliphist]
fetch.github = "sentriz/cliphist"
src.git = "https://github.com/sentriz/cliphist.git"
[rime-yuhaostar]
fetch.url = "https://github.com/forfudan/yuhao-ime-release/releases/download/$ver/star_xingchen_$ver.zip"
src.github = "forfudan/yuhao-ime-release"

View file

@ -1,5 +0,0 @@
{outputs, ...}: _final: prev: let
inherit (prev.stdenv.hostPlatform) system;
in {
cliphist = outputs.packages."${system}".cliphist';
}

View file

@ -10,7 +10,6 @@ in
./wshowkeys.nix
# ./QQ.nix
./helix.nix
./cliphist.nix
./zulip.nix
./nautilus.nix
./neovim-nightly.nix

View file

@ -1,45 +0,0 @@
{
srcs,
cliphist,
imagemagick,
wl-clipboard,
fuzzel,
gawk,
gnugrep,
lib,
makeWrapper,
}: let
inherit (srcs.cliphist) src date version;
in
cliphist.overrideAttrs (
_final: prev: {
inherit src;
version =
if prev.version != "0.6.1"
then
throw ''
Please remove <pkgs/cliphist.nix>
''
else "0-unstable-${date}-git${version}";
vendorHash = "sha256-4XyDLOJHdre/1BpjgFt/W6gOlPOvKztE+MsbwE3JAaQ=";
buildInputs =
(prev.buildInputs or [])
++ [
makeWrapper
];
postInstall = ''
cp -t $out/bin/ $src/contrib/*
rm $out/bin/cliphist.service
wrapProgram $out/bin/cliphist-fuzzel-img \
--prefix PATH : ${
lib.makeBinPath [
imagemagick
wl-clipboard
fuzzel
gawk
gnugrep
]
}
'';
}
)