Gaetan Lepage
2026-08-18 11:41:25 +00:00
parent d558a1abea
commit ca357a28de

View File

@@ -4,36 +4,28 @@
fetchFromGitHub,
rustPlatform,
installShellFiles,
git,
uv,
python312,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "prek";
version = "0.4.13";
version = "0.4.14";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "j178";
repo = "prek";
tag = "v${finalAttrs.version}";
hash = "sha256-zxsSQ6omRF94AeiRDGZ9jFt8jSwJpkAW5aWHh2t42Mc=";
hash = "sha256-Zu7EGt/4GoUK02NkuCJbUBiluhHGMB/hLr/FL4oEY20=";
};
cargoHash = "sha256-cNTmqG1ZbdOX8FIZZalEjxpCqTaHC4NslqOO8+M9kYU=";
cargoHash = "sha256-s+l7xMf+TiEi5TgrQqP7c4SczdnFFRFpFOOVdBXAmwM=";
nativeBuildInputs = [
installShellFiles
];
nativeCheckInputs = [
git
python312
uv
];
# many tests just do not work, as they require network access
# best to disable all, as the upstream already tests everything
doCheck = false;