Skip to content

Commit

Permalink
taplo: 0.8.1 -> 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paholg committed Mar 5, 2024
1 parent 311a4be commit 1c85d22
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions pkgs/development/tools/taplo/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,34 @@
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, openssl
, stdenv
, Security
, withLsp ? true
}:

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";

Expand Down

0 comments on commit 1c85d22

Please sign in to comment.