1 { lib, rustPlatform, fetchFromGitHub, boost, nix, pkg-config }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-JGzrDSAJMH7BaqGfyfLe041T2f8QdwLlFi11yHo+4JI=";
15 buildInputs = [ boost nix ];
17 nativeBuildInputs = [ pkg-config ];
19 cargoSha256 = "sha256-o49xT26X1QdkSWDlz//ZgnLs592DkxktyFaY5S4vVTM=";
22 description = "An interactive Nix documentation tool";
23 longDescription = "An interactive Nix documentation tool providing a CLI for function search, a Nix plugin for docs in the REPL, and a ctags implementation for Nix script";
24 homepage = "https://github.com/lf-/nix-doc";
25 license = licenses.lgpl3Plus;
26 maintainers = [ maintainers.lf- ];
27 platforms = platforms.unix;