Merge pull request #131515 from fabaff/bump-black
This commit is contained in:
commit
1f615944e7
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||||
|
|
|
@ -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 ];
|
||||||
|
|
Loading…
Reference in a new issue