Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
925 B
Nix
44 lines
925 B
Nix
{
|
|
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";
|
|
};
|
|
}
|