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