mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
nix-doc: init at 0.3.3
This commit is contained in:
parent
c73d0fdac0
commit
5b494c6355
29
pkgs/tools/package-management/nix-doc/default.nix
Normal file
29
pkgs/tools/package-management/nix-doc/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, rustPlatform, fetchFromGitHub, boost, nix, pkg-config }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nix-doc";
|
||||
version = "0.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "lf-";
|
||||
repo = "nix-doc";
|
||||
sha256 = "0vd7159y5w8jjgaw51kfr3z3r50299gvw7vjchpqx3nwmdink8bh";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
buildInputs = [ boost nix ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
cargoSha256 = "1xz3qngs8p0s62dq4d46c01z3k1vvgg856767g56b13c38pzfh28";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An interactive Nix documentation tool";
|
||||
longDescription = "An interactive Nix documentation tool providing a CLI for function search and a Nix plugin for docs in the REPL";
|
||||
homepage = "https://github.com/lf-/nix-doc";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = [ maintainers.lf- ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -26497,6 +26497,8 @@ in
|
||||
|
||||
nixdoc = callPackage ../tools/nix/nixdoc {};
|
||||
|
||||
nix-doc = callPackage ../tools/package-management/nix-doc { };
|
||||
|
||||
nix-bundle = callPackage ../tools/package-management/nix-bundle { };
|
||||
|
||||
nix-delegate = haskell.lib.justStaticExecutables haskellPackages.nix-delegate;
|
||||
|
Loading…
Reference in New Issue
Block a user