Files
nixpkgs/pkgs/by-name/ea/eask-cli/package.nix
Ben Siraphob 5506449838 pkgs/by-name: fix typos
Assisted-by: Claude Code (claude-opus-5)
2026-08-05 09:56:33 -07:00

46 lines
1023 B
Nix

{
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
versionCheckHook,
}:
buildNpmPackage (finalAttrs: {
pname = "eask-cli";
version = "0.12.9";
src = fetchFromGitHub {
owner = "emacs-eask";
repo = "cli";
tag = finalAttrs.version;
hash = "sha256-jYdx+MYgUop01MzcKPxtm+ZW6lsy9eCqH00uQd8imRw=";
};
npmDepsHash = "sha256-Xj68un97I8xtAY3RXEq8PNC8ZOZ+NWg6SblnmKzHGMo=";
dontBuild = true;
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
passthru.updateScript = nix-update-script {
extraArgs = [ "--use-github-releases" ];
};
meta = {
changelog = "https://github.com/emacs-eask/cli/blob/${finalAttrs.version}/CHANGELOG.md";
description = "CLI for building, running, testing, and managing your Emacs Lisp dependencies";
homepage = "https://emacs-eask.github.io/";
license = lib.licenses.gpl3Plus;
mainProgram = "eask";
maintainers = with lib.maintainers; [
jcs090218
piotrkwiecinski
];
};
})