python3Packages.pre-commit-hooks: 4.0.1 -> 4.1.0

This commit is contained in:
Fabian Affolter 2021-12-28 00:05:44 +01:00
parent 013cde1d9d
commit 525e7c3f6f

View file

@ -1,24 +1,26 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, git
, pythonOlder
, pytestCheckHook
, pythonOlder
, ruamel-yaml
, stdenv
, toml
}:
buildPythonPackage rec {
pname = "pre-commit-hooks";
version = "4.0.1";
version = "4.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "pre-commit";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Rg2I79r0Pp3AUgT6mD+kEdm+5CEGgdmFn6G3xcU6fnk=";
sha256 = "sha256-nxJp7LkCUkJj77RCeWedBusue3x0lZYatSidbueZqfo=";
};
propagatedBuildInputs = [
@ -42,9 +44,12 @@ buildPythonPackage rec {
git config --global user.name "Nix Builder"
git config --global user.email "nix-builder@nixos.org"
git init .
'';
pythonImportsCheck = [ "pre_commit_hooks" ];
pythonImportsCheck = [
"pre_commit_hooks"
];
meta = with lib; {
description = "Some out-of-the-box hooks for pre-commit";