Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
925 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
buildNpmPackage,
callPackage,
fetchFromGitHub,
lib,
nix-update-script,
nodejs,
pkg-config,
vips,
}:
buildNpmPackage rec {
pname = "netlify-cli";
version = "19.0.2";
src = fetchFromGitHub {
owner = "netlify";
repo = "cli";
tag = "v${version}";
hash = "sha256-+P+hS/g/xRFNvzESZ5LyxyQSSRZ7BzCg9ZX/ndNLeDg=";
};
npmDepsHash = "sha256-3C+tTqLJCm48pAbQMiIq2SsHmb4bcCaf3IU/cTeR5BA=";
inherit nodejs;
buildInputs = [ vips ];
nativeBuildInputs = [ pkg-config ];
passthru = {
tests.test = callPackage ./test.nix { };
updateScript = nix-update-script { };
};
meta = {
description = "Netlify command line tool";
homepage = "https://github.com/netlify/cli";
changelog = "https://github.com/netlify/cli/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ roberth ];
mainProgram = "netlify";
};
}