python3Packages.black: init at 18.4a0 (#38386)

This commit is contained in:
Mathis 2018-04-05 15:11:53 +08:00 committed by Robert Schütz
parent b07ce1fb74
commit 7485d214a6
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, attrs, click }:
buildPythonPackage rec {
pname = "black";
version = "18.4a0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "04dffr4wmzs4vf2xj0cxp03hv04x0kk06qyzx6jjrp1mq0z3n2rr";
};
propagatedBuildInputs = [ attrs click ];
meta = with stdenv.lib; {
description = "The uncompromising Python code formatter";
homepage = https://github.com/ambv/black;
license = licenses.mit;
maintainers = with maintainers; [ sveitser ];
};
}

View File

@ -20178,6 +20178,8 @@ EOF
yapf = callPackage ../development/python-modules/yapf { };
black = callPackage ../development/python-modules/black { };
autobahn = callPackage ../development/python-modules/autobahn { };
jsonref = callPackage ../development/python-modules/jsonref { };