chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / md / md-tui / package.nix
blobe781cd8a4f8d709e893d76a61c3bbac8f4f93ac5
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   pkg-config,
6   stdenv,
7   darwin,
8   nix-update-script,
9 }:
11 rustPlatform.buildRustPackage rec {
12   pname = "md-tui";
13   version = "0.8.6";
15   src = fetchFromGitHub {
16     owner = "henriklovhaug";
17     repo = "md-tui";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-3lNipCYhzqeAAUQZ2ajcOakNDlwSwbUUvP8Dtu6gBsI=";
20   };
22   cargoHash = "sha256-3hxU6yhMbcz3PhTDylJYnqI+eYoWJlf5Y2KecoY5zPo=";
24   nativeBuildInputs = [ pkg-config ];
26   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
27     darwin.apple_sdk.frameworks.CoreFoundation
28     darwin.apple_sdk.frameworks.CoreServices
29     darwin.apple_sdk.frameworks.Security
30   ];
32   passthru = {
33     updateScript = nix-update-script { };
34   };
36   meta = {
37     description = "Markdown renderer in the terminal";
38     homepage = "https://github.com/henriklovhaug/md-tui";
39     changelog = "https://github.com/henriklovhaug/md-tui/blob/${src.rev}/CHANGELOG.md";
40     license = lib.licenses.agpl3Only;
41     maintainers = with lib.maintainers; [
42       GaetanLepage
43       anas
44     ];
45     platforms = lib.platforms.all;
46     mainProgram = "mdt";
47   };