{ 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"; }; }