mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-01 13:14:42 +00:00
This reverts commit65a333600d. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 /758551e458
31 lines
664 B
Nix
31 lines
664 B
Nix
{
|
|
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 = [ ];
|
|
};
|
|
}
|