Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
1.1 KiB
Nix

{
lib,
stdenv,
buildNpmPackage,
fetchFromGitHub,
python3,
xcbuild,
nix-update-script,
}:
buildNpmPackage rec {
pname = "firebase-tools";
version = "14.18.0";
src = fetchFromGitHub {
owner = "firebase";
repo = "firebase-tools";
tag = "v${version}";
hash = "sha256-1yTcMzyznr0b/ObVEECdJuBUi03aiTAwgcTdJ1QFcWY=";
};
npmDepsHash = "sha256-VJquJ7mDBHeclgd/jsAPyRLEFOQp27tUXGAQJX3bXyQ=";
postPatch = ''
ln -s npm-shrinkwrap.json package-lock.json
'';
nativeBuildInputs = [
python3
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
xcbuild
];
env.PUPPETEER_SKIP_DOWNLOAD = true;
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/firebase/firebase-tools/blob/v${version}/CHANGELOG.md";
description = "Manage, and deploy your Firebase project from the command line";
homepage = "https://github.com/firebase/firebase-tools";
license = lib.licenses.mit;
mainProgram = "firebase";
maintainers = with lib.maintainers; [
momeemt
sarahec
];
};
}