blob: c7ab60a5be592a10bcec8e36e60b5579322320f4 (
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
|
{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "serverless";
version = "3.38.0";
src = fetchFromGitHub {
owner = "serverless";
repo = "serverless";
rev = "v${version}";
hash = "sha256-DplJRJOdIpZfIvpyPo9VcaXCHVPWB8FwhOH4vISUh3Q=";
};
postPatch = ''
cp ${./package-lock.json} ./package-lock.json
'';
npmDepsHash = "sha256-Vy3GQelssTqsGsvZqIdctsPlxZQkqrhN0p6AY1T2L/k=";
dontNpmBuild = true;
meta = {
changelog = "https://github.com/serverless/serverless/blob/${src.rev}/CHANGELOG.md";
description = "Build applications on AWS Lambda and other next-gen cloud services, that auto-scale and only charge you when they run";
homepage = "https://serverless.com";
license = lib.licenses.mit;
mainProgram = "serverless";
maintainers = [ ];
};
}
|