Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #53465 from borisbabic/master

gitAndTools.pre-commit: 1.11.1 -> 1.14.2

authored by

Ryan Mulligan and committed by
GitHub
6cdcc100 2685d272

+8 -5
+8 -5
pkgs/applications/version-management/git-and-tools/pre-commit/default.nix
··· 1 { stdenv, python3Packages }: 2 with python3Packages; buildPythonApplication rec { 3 - pname = "pre_commit"; 4 - version = "1.11.1"; 5 6 src = fetchPypi { 7 - inherit pname version; 8 - sha256 = "1kjrq8z78b6aqhyyw07dlwf6cqls88kik6f5l07hs71fj5ddvs9w"; 9 }; 10 11 propagatedBuildInputs = [ ··· 17 six 18 toml 19 virtualenv 20 - ]; 21 22 # Tests fail due to a missing windll dependency 23 doCheck = false;
··· 1 { stdenv, python3Packages }: 2 with python3Packages; buildPythonApplication rec { 3 + pname = "pre-commit"; 4 + version = "1.14.2"; 5 6 src = fetchPypi { 7 + inherit version; 8 + pname = "pre_commit"; 9 + sha256 = "010fwih91gbc20hm2hmkyicm2a2xwrjjg4r4wv24x3n7zn4abdrc"; 10 }; 11 12 propagatedBuildInputs = [ ··· 18 six 19 toml 20 virtualenv 21 + importlib-metadata 22 + ] ++ stdenv.lib.optional (pythonOlder "3.7") importlib-resources 23 + ++ stdenv.lib.optional (pythonOlder "3.2") futures; 24 25 # Tests fail due to a missing windll dependency 26 doCheck = false;