blob: dd845f887979182578014b01633762079396056d (
plain)
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
|
{
lib,
buildNpmPackage,
fetchurl,
version,
hash,
npmDepsHash,
packageLockFile,
}:
buildNpmPackage rec {
pname = "lerna";
inherit version;
src = fetchurl {
url = "https://registry.npmjs.org/lerna/-/lerna-${version}.tgz";
inherit hash;
};
postPatch = ''
ln -s ${packageLockFile} package-lock.json
'';
inherit npmDepsHash;
dontNpmBuild = true;
meta = {
description = "Fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository";
homepage = "https://lerna.js.org/";
changelog = "https://github.com/lerna/lerna/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ThaoTranLePhuong ];
};
}
|