mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 23:52:55 +00:00
Merge pull request #273255 from aaronjheng/pre-commit
pre-commit: 3.3.3 -> 3.6.0
This commit is contained in:
commit
a5873fa6d8
@ -10,6 +10,7 @@
|
|||||||
, go
|
, go
|
||||||
, nodejs
|
, nodejs
|
||||||
, perl
|
, perl
|
||||||
|
, cabal-install
|
||||||
, testers
|
, testers
|
||||||
, pre-commit
|
, pre-commit
|
||||||
}:
|
}:
|
||||||
@ -17,16 +18,16 @@
|
|||||||
with python3Packages;
|
with python3Packages;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "pre-commit";
|
pname = "pre-commit";
|
||||||
version = "3.3.3";
|
version = "3.6.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pre-commit";
|
owner = "pre-commit";
|
||||||
repo = "pre-commit";
|
repo = "pre-commit";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-6FKf4jLHUt2c7LSxFcq53IsfHOWeUSI+P9To0eh48+o=";
|
hash = "sha256-OTduVg8uhMdXs2gQ7KaMVOO1zQK4m489W9SU7PWIvcM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -58,6 +59,7 @@ buildPythonApplication rec {
|
|||||||
pytest-xdist
|
pytest-xdist
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
re-assert
|
re-assert
|
||||||
|
cabal-install
|
||||||
];
|
];
|
||||||
|
|
||||||
# i686-linux: dotnet-sdk not available
|
# i686-linux: dotnet-sdk not available
|
||||||
@ -156,6 +158,8 @@ buildPythonApplication rec {
|
|||||||
"test_run_versioned_node_hook"
|
"test_run_versioned_node_hook"
|
||||||
"test_rust_cli_additional_dependencies"
|
"test_rust_cli_additional_dependencies"
|
||||||
"test_swift_language"
|
"test_swift_language"
|
||||||
|
"test_run_example_executable"
|
||||||
|
"test_run_dep"
|
||||||
|
|
||||||
# i don't know why these fail
|
# i don't know why these fail
|
||||||
"test_install_existing_hooks_no_overwrite"
|
"test_install_existing_hooks_no_overwrite"
|
||||||
|
Loading…
Reference in New Issue
Block a user