2017-07-15 10:53:43 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "yapf";
|
2018-01-20 11:00:28 +00:00
|
|
|
version = "0.20.1";
|
2017-07-15 10:53:43 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-01-20 11:00:28 +00:00
|
|
|
sha256 = "bd19f246be7193ad2acdc04702b92315f1ae28d49c82f6671afdeefe9d32f468";
|
2017-07-15 10:53:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A formatter for Python code.";
|
|
|
|
homepage = "https://github.com/google/yapf";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ siddharthist ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|