nixpkgs/pkgs/development/python-modules/yapf/default.nix

21 lines
490 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "yapf";
2017-07-24 19:19:17 +01:00
version = "0.16.3";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-07-24 19:19:17 +01:00
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 ];
};
}