mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
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.
This commit is contained in:
parent
ff2caf7354
commit
c98bd2bfb9
26
packages/all-the-package-names.nix
Normal file
26
packages/all-the-package-names.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user