big refactor

This commit is contained in:
Asaki Yuki 2026-04-09 10:36:32 +07:00
commit 76d68230f6
81 changed files with 3065 additions and 0 deletions

27
packages/bun.nix Executable file
View file

@ -0,0 +1,27 @@
{ pkgs, ... }:
pkgs.stdenv.mkDerivation rec {
pname = "bun";
version = "1.3.10";
src = pkgs.fetchzip {
url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64-baseline.zip";
hash = "sha256-ZWTs4ApH0BsATxrE1DSuqCETIrNZZxdG8xtN0NinNBw=";
};
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
cp bun $out/bin/
chmod +x $out/bin/bun
'';
meta = with pkgs.lib; {
description = "Incredibly fast JavaScript runtime, bundler, transpiler and package manager all in one";
homepage = "https://bun.sh";
license = with licenses; [
mit
lgpl21Only
];
};
}