mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
prek: 0.4.13 -> 0.4.14
Diff: https://github.com/j178/prek/compare/v0.4.13...v0.4.14 Changelog: https://github.com/j178/prek/blob/v0.4.14/CHANGELOG.md
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user