Unverified Commit 2d0f4622 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #259788 from SuperSandro2000/mdcat

mdcat: 2.0.3 -> 2.0.4
parents f0dec0b9 2749ff48
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -6,26 +6,27 @@
, asciidoctor
, openssl
, Security
, SystemConfiguration
, ansi2html
, installShellFiles
}:

rustPlatform.buildRustPackage rec {
  pname = "mdcat";
  version = "2.0.3";
  version = "2.0.4";

  src = fetchFromGitHub {
    owner = "swsnr";
    repo = "mdcat";
    rev = "mdcat-${version}";
    sha256 = "sha256-S47xJmwOCDrJJSYP9WiUKFWR9UZDNgY3mc/fTHaKsvA=";
    hash = "sha256-QGGZv+wk0w01eL6vAsRRUw+CuTdI949sGOM8ot4dGIc=";
  };

  nativeBuildInputs = [ pkg-config asciidoctor installShellFiles ];
  buildInputs = [ openssl ]
    ++ lib.optional stdenv.isDarwin Security;
    ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];

  cargoSha256 = "sha256-g/Il3Sff9NtEfGTXBOGyRw6/GXje9kVwco0URyhv4TI=";
  cargoHash = "sha256-VH9MmASMiD62rxDZSKmrW7N+qp0Fpm7Pcyhxpkpl/oM=";

  nativeCheckInputs = [ ansi2html ];
  # Skip tests that use the network and that include files.
+1 −1
Original line number Diff line number Diff line
@@ -10138,7 +10138,7 @@ with pkgs;
  };
  mdcat = callPackage ../tools/text/mdcat {
    inherit (darwin.apple_sdk.frameworks) Security;
    inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
    inherit (python3Packages) ansi2html;
  };