mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 15:47:28 +00:00
21 lines
502 B
Nix
21 lines
502 B
Nix
{ stdenv, buildPythonPackage, fetchPypi }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "yapf";
|
|
version = "0.19.0";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "701b076a4916e3cfbba345e0297dcd54a02fd0fdcae1f43346f8a043c3bbd052";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A formatter for Python code.";
|
|
homepage = "https://github.com/google/yapf";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ siddharthist ];
|
|
};
|
|
|
|
}
|