nix-doc: 0.5.10 -> 0.6.0

Adds a max-cardinality filter to the tags file to remove extremely
common tags. This reduces the tags file size for nixpkgs from 170MB (!)
to 28MB on the default max-cardinality of 500.
This commit is contained in:
Jade Lovelace 2023-08-29 17:37:13 -07:00
parent a63a64b593
commit 90f5c4ea8e

View file

@ -2,13 +2,13 @@
rustPlatform.buildRustPackage rec {
pname = "nix-doc";
version = "0.5.10";
version = "0.6.0";
src = fetchFromGitHub {
rev = "v${version}";
owner = "lf-";
repo = "nix-doc";
sha256 = "sha256-+T4Bz26roTFiXTM8P8FnJLSdFY2hP26X4nChWWUACN8=";
sha256 = "sha256-1y4BSdKgsV4WLcaNICVh5rac1ZAtZxFM3BlhL2g/AcI=";
};
doCheck = true;
@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
RUSTFLAGS = "-Z relro-level=partial";
};
cargoSha256 = "sha256-GylSWo4LIsjKnJE9H6iJHZ99UI6UPhAOnAGXk+v8bko=";
cargoSha256 = "sha256-nP03WnXBcwazAi6nVe17CpDSeUxmG84BFFMA5ueey3M=";
meta = with lib; {
description = "An interactive Nix documentation tool";