termbook: init at 1.4.6

This commit is contained in:
phaer 2023-04-26 15:00:37 +02:00
parent be1e280246
commit 8928ef4aef
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin }:
rustPlatform.buildRustPackage rec {
pname = "termbook-cli";
version = "1.4.6";
src = fetchFromGitHub {
owner = "Byron";
repo = "termbook";
rev = "v${version}";
sha256 = "Bo3DI0cMXIfP7ZVr8MAW/Tmv+4mEJBIQyLvRfVBDG8c=";
};
cargoSha256 = "sha256-9fFvJJlDzBmbI7hes/wfjAk1Cl2H55T5n8HLnUmDw/c=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
meta = with lib; {
description = "A runner for `mdbooks` to keep your documentation tested";
homepage = "https://github.com/Byron/termbook/";
changelog = "https://github.com/Byron/termbook/blob/${src.rev}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ phaer ];
};
}

View file

@ -13544,6 +13544,8 @@ with pkgs;
xteve = callPackage ../servers/xteve { };
termbook = callPackage ../tools/text/termbook { };
testdisk = libsForQt5.callPackage ../tools/system/testdisk { };
testdisk-qt = testdisk.override { enableQt = true; };