pkgs: remove tlauncher

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2025-06-29 18:56:41 +05:30
parent da4309e2e0
commit fe6d79edb5
3 changed files with 0 additions and 99 deletions

View File

@@ -29,31 +29,3 @@ wrapNeovimUnstable nvimPackage (nvimConfig // {
${builtins.readFile ./init.lua}
'';
})
/* wrapNeovim nvimPackage {
configure = {
customRC = ''
${builtins.readFile ./init.lua}
'';
packages.myVimPackage = with vimPlugins; {
start = [
nvim-colorizer-lua
autoclose-nvim
toggleterm-nvim
nvim-cmp
nvim-lspconfig
cmp-nvim-lsp
cmp-path
cmp-calc
cmp-emoji
cmp-buffer
barbar-nvim
nvim-web-devicons
presence-nvim
nvim-tree-lua
nvim-treesitter
lspkind-nvim
catppuccin-nvim
];
};
};
}*/

View File

@@ -4,7 +4,6 @@ let
in
{
customscripts = call ./customscripts { };
tlauncher = call ./tlauncher { };
simp1e-cursors = call ./simp1e { };
nattovim = call ./nattovim { };
}

View File

@@ -1,70 +0,0 @@
{ pkgs ? import <nixpkgs> { } }:
let
version = "2.885";
jar = pkgs.stdenv.mkDerivation {
pname = "tlauncher-jar";
inherit version;
src = pkgs.fetchzip {
name = "tlauncher.zip";
url = "https://dl2.tlauncher.org/f.php?f=files%2FTLauncher-${version}.zip";
sha256 = "sha256-Erpctwdefb+pTKb5UHkEirAQyVmnPFWjS3345hTllOE=";
stripRoot = false;
};
installPhase = ''
cp $src/*.jar $out
'';
};
fhs = pkgs.buildFHSUserEnv {
name = "tlauncher";
runScript = ''
${pkgs.openjdk8}/bin/java -jar "${jar}" "$@"
'';
targetPkgs = pkgs: with pkgs; [
openal
pulseaudio
libpulseaudio
zip
zlib
alsa-lib
cpio
cups
file
fontconfig
freetype
giflib
glib
gnome2.GConf
gnome2.gnome_vfs
gtk2
libjpeg
libGL
openjdk8-bootstrap
perl
which
] ++
(with xorg; [
libICE
libX11
libXcursor
libXext
libXi
libXinerama
libXrandr
xrandr
libXrender
libXt
libXtst
libXtst
libXxf86vm
]);
};
in
pkgs.stdenv.mkDerivation rec {
pname = "tlauncher";
inherit version;
dontUnpack = true;
installPhase = ''
mkdir $out/{bin,share/applications} -p
install ${fhs}/bin/tlauncher $out/bin
'';
}