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

21 lines
502 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "yapf";
2017-08-24 19:34:20 +02:00
version = "0.17.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-08-24 19:34:20 +02:00
sha256 = "5472f4c95ab9b9fe9f5bf74ece3c986bfafa1f98ad9e1e296d4c35d291c97856";
};
meta = with stdenv.lib; {
description = "A formatter for Python code.";
homepage = "https://github.com/google/yapf";
license = licenses.asl20;
maintainers = with maintainers; [ siddharthist ];
};
}