python3Packages.black: init at 18.4a0 (#38386)
This commit is contained in:
parent
b07ce1fb74
commit
7485d214a6
2 changed files with 25 additions and 0 deletions
23
pkgs/development/python-modules/black/default.nix
Normal file
23
pkgs/development/python-modules/black/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue