parent
5529758791
commit
a5d75f0f18
20
pkgs/development/python-modules/yapf/default.nix
Normal file
20
pkgs/development/python-modules/yapf/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
|
||||
}
|
@ -29752,22 +29752,7 @@ EOF
|
||||
};
|
||||
};
|
||||
|
||||
yapf = buildPythonPackage rec {
|
||||
name = "yapf-${version}";
|
||||
version = "0.11.0";
|
||||
|
||||
meta = {
|
||||
description = "A formatter for Python code.";
|
||||
homepage = "https://github.com/google/yapf";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ siddharthist ];
|
||||
};
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/y/yapf/${name}.tar.gz";
|
||||
sha256 = "14kb9gxw39zhvrijhp066b4bm6bgv35iw56c394y4dyczpha0dij";
|
||||
};
|
||||
};
|
||||
yapf = callPackage ../development/python-modules/yapf { };
|
||||
|
||||
autobahn = callPackage ../development/python-modules/autobahn { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user