3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #234482 from figsoda/katex

mdbook-katex: remove unused dependencies, 0.5.0 -> 0.5.1
This commit is contained in:
Weijia Wang 2023-05-27 23:02:46 +03:00 committed by GitHub
commit 7083969a63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,18 +1,15 @@
{ lib, stdenv, fetchCrate, rustPlatform, openssl, CoreServices }:
{ lib, rustPlatform, fetchCrate, stdenv, CoreServices }:
rustPlatform.buildRustPackage rec {
pname = "mdbook-katex";
version = "0.5.0";
version = "0.5.1";
src = fetchCrate {
inherit pname version;
hash = "sha256-6gZTJrjr3cO7f6XBrQrBKe62UsnPxGo1eXX/+ICdJfk=";
hash = "sha256-RDNZ6+d+UbiQ/Eb2+YbhPyGVcM8079UFsnNvch/1oAs=";
};
cargoHash = "sha256-KHC37LNnc789anxJBADgj97tw5TwR/5ksxP3X/9pHlo=";
OPENSSL_DIR = "${lib.getDev openssl}";
OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib";
cargoHash = "sha256-An2mQ4kWGF3qk2v9VeQh700n7n/+3ShPqMfCnZmiIuc=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];