blob: 28221761874cdbfeef2aee3176836f839b892103 (
about) (
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,
fetchFromGitHub,
}:
buildNpmPackage rec {
pname = "npm-check-updates";
version = "17.1.18";
src = fetchFromGitHub {
owner = "raineorshine";
repo = "npm-check-updates";
rev = "refs/tags/v${version}";
hash = "sha256-0aSVYWksOpUL2i0T5Y0CeLU0Nv4tH+0nGSY57LZRNkg=";
};
npmDepsHash = "sha256-/kDeGiUb/zQ7LQU6Lg0YhvdFRccbezJmsEx+A5WEw8w=";
postPatch = ''
sed -i '/"prepare"/d' package.json
'';
makeCacheWritable = true;
meta = {
changelog = "https://github.com/raineorshine/npm-check-updates/blob/${src.rev}/CHANGELOG.md";
description = "Find newer versions of package dependencies than what your package.json allows";
homepage = "https://github.com/raineorshine/npm-check-updates";
license = lib.licenses.asl20;
mainProgram = "ncu";
maintainers = with lib.maintainers; [ flosse ];
};
}
|