dprint: 0.48.0 -> 0.49.0 with fixing the checkPhase (#382541)

This commit is contained in:
Peder Bergebakken Sundt
2025-02-17 01:00:09 +01:00
committed by GitHub
+10 -3
View File
@@ -6,12 +6,13 @@
installShellFiles,
testers,
nix-update-script,
deno,
dprint,
}:
rustPlatform.buildRustPackage rec {
pname = "dprint";
version = "0.48.0";
version = "0.49.0";
# Prefer repository rather than crate here
# - They have Cargo.lock in the repository
@@ -20,16 +21,22 @@ rustPlatform.buildRustPackage rec {
owner = "dprint";
repo = "dprint";
tag = version;
hash = "sha256-Zem37oHku90c7PDV8ep/7FN128eGRUvfIvRsaXa7X9g=";
hash = "sha256-IhxtHOf4IY95B7UQPSOyLj4LqvcD2I9RxEu8B+OjtCE=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-sSxtqg4VQhY84F8GZ0mbXzmsN2VFrr77z95LEly1ROo=";
cargoHash = "sha256-OdtUzlvbezeNk06AB6mzR3Rybh08asJJ3roNX0WOg54=";
nativeBuildInputs = lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
installShellFiles
];
nativeCheckInputs = [
# Used in unsafe_ignore_cert test
# https://github.com/dprint/dprint/blob/00e8f5e9895147b20fe70a0e4e5437bd54d928e8/crates/dprint/src/utils/url.rs#L527
deno
];
checkFlags = [
# Require creating directory and network access
"--skip=plugins::cache_fs_locks::test"