+/config

my dotfiles and nix configuration

git clone https://git.julia.blue/+/config

Julia RyanClean up packagesf303232

main
786 B34 linesraw
1{ rustPlatform, fetchFromGitHub, pkg-config, oniguruma, xz }:
2rustPlatform.buildRustPackage rec {
3  pname = "term-rustdoc";
4  version = "2025-04-20";
5
6  src = fetchFromGitHub {
7    owner = "zjp-cn";
8    repo = "term-rustdoc";
9    rev = "873925db2eac4a6f161754cfdebf384e78627f9a";
10    hash = "sha256-tBdGWT6fjCURkFPgNOJjQVNDtewH0rhKWOkzKqDJrSQ=";
11  };
12
13  cargoHash = "sha256-MwmGAYnFX9udauxCyDt2ViNQImv5PNXfmRl56vBOl9M=";
14  doCheck = false;
15
16  nativeBuildInputs = [
17    pkg-config
18  ];
19
20  buildInputs = [
21    oniguruma
22    xz
23  ];
24
25  env = {
26    RUSTONIG_SYSTEM_LIBONIG = true;
27  };
28
29  meta = {
30    description = "A TUI for Rust docs";
31    homepage = "https://github.com/zjp-cn/term-rustdoc";
32    changelog = "https://github.com/zjp-cn/term-rustdoc/blob/${src.rev}/CHANGELOG.md";
33  };
34}