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

20 lines
460 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "yapf";
2020-06-06 07:47:37 +01:00
version = "0.30.0";
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:37 +01:00
sha256 = "3000abee4c28daebad55da6c85f3cd07b8062ce48e2e9943c8da1b9667d48427";
};
meta = with lib; {
description = "A formatter for Python code.";
homepage = "https://github.com/google/yapf";
license = licenses.asl20;
maintainers = with maintainers; [ siddharthist ];
};
}