2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-pasta";
|
2020-05-29 06:06:01 +00:00
|
|
|
version = "0.2.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-29 06:06:01 +00:00
|
|
|
sha256 = "0vm1r1jlaiagj0l9yf7j6zn9w3733dr2169911c0svgrr3gwiwn9";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An AST-based Python refactoring library";
|
|
|
|
homepage = "https://github.com/google/pasta";
|
2020-05-29 06:06:01 +00:00
|
|
|
# Usually the tag message contains a one-line summary of the changes.
|
|
|
|
changelog = "https://github.com/google/pasta/releases/tag/v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ timokau ];
|
|
|
|
};
|
|
|
|
}
|