diff --git a/pkgs/tools/text/mdbook-katex/default.nix b/pkgs/tools/text/mdbook-katex/default.nix index c5cf1db068f7..a1314d2ccd13 100644 --- a/pkgs/tools/text/mdbook-katex/default.nix +++ b/pkgs/tools/text/mdbook-katex/default.nix @@ -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 ];