2017-07-15 11:53:43 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "yapf";
|
2018-06-12 18:47:08 +02:00
|
|
|
version = "0.22.0";
|
2017-07-15 11:53:43 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 18:47:08 +02:00
|
|
|
sha256 = "a98a6eacca64d2b920558f4a2f78150db9474de821227e60deaa29f186121c63";
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|