Merge pull request #293414 from paholg/taplo-0.9.0

taplo: 0.8.1 -> 0.9.0
This commit is contained in:
Pol Dellaiera 2024-03-05 19:41:31 +01:00 committed by GitHub
commit 11464dff27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,8 @@
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, openssl
, stdenv
, Security
, withLsp ? true
@ -8,17 +10,25 @@
rustPlatform.buildRustPackage rec {
pname = "taplo";
version = "0.8.1";
version = "0.9.0";
src = fetchCrate {
inherit version;
pname = "taplo-cli";
sha256 = "sha256-evNW6OA7rArj0TvOaQgktcQy0tWnel3ZL+ic78e6lOk=";
hash = "sha256-vvb00a6rppx9kKx+pzObT/hW/IsG6RyYFEDp9M5gvqc=";
};
cargoSha256 = "sha256-jeLjoqEieR96mUZQmQtv7P78lmOaF18ruVhZLi/TieQ=";
cargoHash = "sha256-oT7U9htu7J22MqLZb+YXohlB1CVGxHGQvHJu18PeLf8=";
buildInputs = lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
Security
];
buildFeatures = lib.optional withLsp "lsp";