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

21 lines
502 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "yapf";
2018-01-20 11:00:28 +00:00
version = "0.20.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-01-20 11:00:28 +00:00
sha256 = "bd19f246be7193ad2acdc04702b92315f1ae28d49c82f6671afdeefe9d32f468";
};
meta = with stdenv.lib; {
description = "A formatter for Python code.";
homepage = "https://github.com/google/yapf";
license = licenses.asl20;
maintainers = with maintainers; [ siddharthist ];
};
}