gitAndTools.pre-commit: 1.11.1 -> 1.14.2

This commit is contained in:
Boris Babic 2019-01-24 20:50:13 +01:00
parent 1b998ce854
commit 02a3a15bfd

View file

@ -1,11 +1,12 @@
{ stdenv, python3Packages }: { stdenv, python3Packages }:
with python3Packages; buildPythonApplication rec { with python3Packages; buildPythonApplication rec {
pname = "pre_commit"; pname = "pre-commit";
version = "1.11.1"; version = "1.14.2";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit version;
sha256 = "1kjrq8z78b6aqhyyw07dlwf6cqls88kik6f5l07hs71fj5ddvs9w"; pname = "pre_commit";
sha256 = "010fwih91gbc20hm2hmkyicm2a2xwrjjg4r4wv24x3n7zn4abdrc";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -17,7 +18,9 @@ with python3Packages; buildPythonApplication rec {
six six
toml toml
virtualenv virtualenv
]; importlib-metadata
] ++ stdenv.lib.optional (pythonOlder "3.7") importlib-resources
++ stdenv.lib.optional (pythonOlder "3.2") futures;
# Tests fail due to a missing windll dependency # Tests fail due to a missing windll dependency
doCheck = false; doCheck = false;