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:
commit
13c57effb4
|
@ -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
Loading…
Reference in a new issue