2017-07-15 10:53:43 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "yapf";
|
2019-07-16 18:06:19 +01:00
|
|
|
version = "0.28.0";
|
2017-07-15 10:53:43 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-16 18:06:19 +01:00
|
|
|
sha256 = "06x409cgr5im9cppzypj1kqy1fsry906vn5slv7i9hd7fshvd53g";
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|