nixpkgs/pkgs/development/python-modules/yapf/default.nix
2017-12-31 10:55:23 +01:00

21 lines
502 B
Nix

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