blob: 5ce768bad8b9791cb8ce230a844e321ad6e0b655 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ lib
, stdenv
, buildNpmPackage
, fetchFromGitHub
, python3
, xcbuild
}:
buildNpmPackage rec {
pname = "firebase-tools";
version = "13.13.2";
src = fetchFromGitHub {
owner = "firebase";
repo = "firebase-tools";
rev = "v${version}";
hash = "sha256-VjNH3eoJbgPkSDO3UqjxlXoaPE4ct0DMBxWhKbbjvVY=";
};
npmDepsHash = "sha256-BJuGunibUe5tCvoUAWR2WJlmjrOc1o3wbtfMp3WdK50=";
postPatch = ''
ln -s npm-shrinkwrap.json package-lock.json
'';
nativeBuildInputs = [
python3
] ++ lib.optionals stdenv.isDarwin [
xcbuild
];
env = {
PUPPETEER_SKIP_DOWNLOAD = true;
};
meta = {
changelog = "https://github.com/firebase/firebase-tools/blob/${src.rev}/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; [ ];
};
}
|