2017-07-15 10:53:43 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "yapf";
|
2018-12-14 19:20:00 +00:00
|
|
|
version = "0.25.0";
|
2017-07-15 10:53:43 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-14 19:20:00 +00:00
|
|
|
sha256 = "0mbdyhqwlm4pcd0wr5haxypxm0kr8y46nc17696xmd4pvfmzk9wa";
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|