nixpkgs/pkgs/development/python-modules/yapf/default.nix
2017-07-24 11:19:59 -07:00

21 lines
490 B
Nix

{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "yapf";
version = "0.16.3";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1qxq41y65saljw0jk5fzinvynr9fhwzqcjsxxs8bn78in073x7a2";
};
meta = with stdenv.lib; {
description = "A formatter for Python code.";
homepage = "https://github.com/google/yapf";
license = licenses.asl20;
maintainers = with maintainers; [ siddharthist ];
};
}