depot/third_party/nixpkgs/pkgs/tools/misc/node-glob/default.nix

30 lines
681 B
Nix
Raw Normal View History

{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "glob";
version = "10.3.3";
src = fetchFromGitHub {
owner = "isaacs";
repo = "node-glob";
rev = "v${version}";
hash = "sha256-oLlNhQOnu/hlKjNWa5vjqslz1EarZJOpUEXUB+vGQvc=";
};
npmDepsHash = "sha256-78oODw+CBCk5JRJbDqLqVmzTVImP7Z7o6jRIimDxZDQ=";
dontNpmBuild = true;
meta = {
changelog = "https://github.com/isaacs/node-glob/blob/${src.rev}/changelog.md";
description = "Little globber for Node.js";
homepage = "https://github.com/isaacs/node-glob";
license = lib.licenses.isc;
mainProgram = "glob";
maintainers = with lib.maintainers; [ ];
};
}