3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #203200 from tjni/mdbook-katex

mdbook-katex: 0.2.10 -> 0.2.17
This commit is contained in:
Mario Rodas 2022-11-29 20:43:02 -05:00 committed by GitHub
commit 13c57effb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1429 deletions

View file

@ -1,22 +1,18 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices }:
{ lib, stdenv, fetchCrate, rustPlatform, openssl, CoreServices }:
rustPlatform.buildRustPackage rec {
pname = "mdbook-katex";
version = "0.2.10";
version = "0.2.17";
src = fetchFromGitHub {
owner = "lzanini";
repo = pname;
rev = "v${version}";
hash = "sha256-5PzXX7icRxcHpzjp3x/9ssn2o0444uHrzBn1Ds1DEPM=";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-rJzZVZn8CJOIcSVLCLv6tWox0MRdxNBMUKo1fij1ogc=";
};
cargoPatches = [
# Remove when https://github.com/lzanini/mdbook-katex/pull/35 is in a new release.
./update-mdbook-for-rust-1.64.patch
];
cargoHash = "sha256-aSFXTeP5wDshdrrJ+eJCTmLuTlxCuM+5irUr0iW4tAY=";
cargoHash = "sha256-lrEirKkGf9/8yLyLSON54UaeQ3Xtl7g7ezUc7e1KVHw=";
OPENSSL_DIR = "${lib.getDev openssl}";
OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];

File diff suppressed because it is too large Load diff