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