mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
183d32842f
Used by tensorflow for its tf1 -> tf2 migration.
27 lines
507 B
Nix
27 lines
507 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-pasta";
|
|
version = "0.1.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1zmqfvy28i2509277s6sz098kddd16cx21vpxyc8xml1nclcxlbr";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
];
|
|
|
|
meta = {
|
|
description = "An AST-based Python refactoring library";
|
|
homepage = https://github.com/google/pasta;
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ timokau ];
|
|
};
|
|
}
|