Merge pull request #131515 from fabaff/bump-black

This commit is contained in:
Sandro 2021-07-26 09:09:14 +00:00 committed by GitHub
commit 1f615944e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -11,7 +11,7 @@
, pathspec , pathspec
, parameterized , parameterized
, regex , regex
, toml , tomli
, typed-ast , typed-ast
, typing-extensions , typing-extensions
, uvloop , uvloop
@ -20,13 +20,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "black"; pname = "black";
version = "21.6b0"; version = "21.7b0";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "016f6bhnnnbcrrh3cvmpk77ww0nykv5n1qvgf8b3044dm14264yw"; sha256 = "06d27adq6v6p8wspi0wwqz2pnq34p5jhnqvijbin54yyj5j3qdy8";
}; };
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
@ -66,7 +66,7 @@ buildPythonPackage rec {
mypy-extensions mypy-extensions
pathspec pathspec
regex regex
toml tomli
typed-ast # required for tests and python2 extra typed-ast # required for tests and python2 extra
uvloop uvloop
] ++ lib.optional (pythonOlder "3.7") dataclasses ] ++ lib.optional (pythonOlder "3.7") dataclasses

View file

@ -8,14 +8,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "tomli"; pname = "tomli";
version = "1.0.4"; version = "1.1.0";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hukkin"; owner = "hukkin";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-ld0PsYnxVH3RbLG/NpvLDj9UhAe+QgwCQVXgGgqh8kE="; sha256 = "1cj6iil9sii1zl0l4pw7h4alcnhwdbxinpph2f0rm5rghrp6prjm";
}; };
nativeBuildInputs = [ flit-core ]; nativeBuildInputs = [ flit-core ];