nix-config/packages/all-the-package-names.nix
Donovan Glover c98bd2bfb9
packages: Add all-the-package-names
By packaging all-the-package-names ourselves, we no longer need to worry
about globally installing it with .npm-packages.
2024-05-12 11:54:35 -04:00

27 lines
680 B
Nix

{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "all-the-package-names";
version = "2.0.1490";
src = fetchFromGitHub {
owner = "nice-registry";
repo = "all-the-package-names";
rev = "v${version}";
hash = "sha256-sUJtg/sxNWdkN90AmqVRo5g0BaD9ej/Ha6kJamwO5iA=";
};
npmDepsHash = "sha256-xXC6HA7rILtOWcqWlGye883HZGwiaQws16mlJaDqDQE=";
meta = {
description = "A list of all the public package names on npm";
homepage = "https://github.com/nice-registry/all-the-package-names";
license = lib.licenses.mit;
mainProgram = "all-the-package-names";
maintainers = with lib.maintainers; [ donovanglover ];
};
}