python3Packages.black: init at 18.4a0 (#38386)
This commit is contained in:
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 ];
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user