mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
termbook: init at 1.4.6
This commit is contained in:
parent
be1e280246
commit
8928ef4aef
27
pkgs/tools/text/termbook/default.nix
Normal file
27
pkgs/tools/text/termbook/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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; };
|
||||
|
Loading…
Reference in New Issue
Block a user