chore: drop unused custom packages

This commit is contained in:
2025-08-02 20:29:34 +08:00
parent bf904ec38a
commit ea02f5b023
2 changed files with 0 additions and 75 deletions

View File

@@ -1,38 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "fcitx5-themes";
version = "unstable-2022-09-28";
src = fetchFromGitHub {
owner = "thep0y";
repo = "fcitx5-themes";
rev = "9d6e437289aa8de61d2c198b2e6ce4b5edea204f";
hash = "sha256-iNOquWc6d1rgdWeGPBQ6na/bq+ZOV9cx4MCLf3SdBLg=";
};
phases = [
"unpackPhase"
"installPhase"
];
installPhase = ''
runHook preInstall
rm -rf images README.md install.sh
mkdir -p $out/share/fcitx5/themes
cp -r * $out/share/fcitx5/themes
runHook postInstall
'';
meta = with lib; {
description = "fcitx5";
homepage = "https://github.com/thep0y/fcitx5";
platforms = platforms.all;
};
}

View File

@@ -1,37 +0,0 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation rec {
pname = "translate-shell";
version = "0.9.7.1";
src = fetchFromGitHub {
owner = "soimort";
repo = pname;
rev = "gh-pages";
hash = "sha256-YQevXwslWzHen9n+Fn0a+oNx/EKg0Kd/Ge8ksYP0ekY=";
};
phases = [
"unpackPhase"
"installPhase"
];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
patchShebangs ./trans
cp ./trans $out/bin/trans
runHook postInstall
'';
meta = {
description = "Command-line translator using Google Translate, Bing Translator, Yandex.Translate, etc.";
homepage = "https://github.com/soimort/translate-shell";
license = lib.licenses.unlicense;
};
}