diff options
author | wisut hantanong <wizzup@gmail.com> | 2017-07-15 16:53:43 +0700 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2017-07-15 17:40:55 +0100 |
commit | a5d75f0f18a0af23fe6b01fc971fe2db39db151d (patch) | |
tree | 24a6d427d9a1b2fdf8e30ea83daeb33e03bdf87a /pkgs/development/python-modules/yapf | |
parent | 552975879167ae5428e9828dfba38ed70440795e (diff) |
python.pkgs.yapf: move to separate expression
fixes #27379
Diffstat (limited to 'pkgs/development/python-modules/yapf')
-rw-r--r-- | pkgs/development/python-modules/yapf/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/yapf/default.nix b/pkgs/development/python-modules/yapf/default.nix new file mode 100644 index 0000000000000..b7f9d71392789 --- /dev/null +++ b/pkgs/development/python-modules/yapf/default.nix @@ -0,0 +1,20 @@ +{ stdenv, buildPythonPackage, fetchPypi }: + +buildPythonPackage rec { + pname = "yapf"; + version = "0.11.0"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "14kb9gxw39zhvrijhp066b4bm6bgv35iw56c394y4dyczpha0dij"; + }; + + meta = with stdenv.lib; { + description = "A formatter for Python code."; + homepage = "https://github.com/google/yapf"; + license = licenses.asl20; + maintainers = with maintainers; [ siddharthist ]; + }; + +} |