mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 18:34:41 +00:00
30 lines
891 B
Nix
30 lines
891 B
Nix
{ lib, rustPlatform, fetchFromGitHub, boost, nix, pkg-config }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "nix-doc";
|
|
version = "0.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "lf-";
|
|
repo = "nix-doc";
|
|
sha256 = "0yx5y90shdjwihbjrvv2m3bycgpdalafc9q4acfczfaymag8ggad";
|
|
};
|
|
|
|
doCheck = true;
|
|
buildInputs = [ boost nix ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
cargoSha256 = "11bcn111j4iqwqwpp26w7rnycasbhiixaqb1rq4ry2402hvl90j7";
|
|
|
|
meta = with lib; {
|
|
description = "An interactive Nix documentation tool";
|
|
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";
|
|
homepage = "https://github.com/lf-/nix-doc";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = [ maintainers.lf- ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|