Files
nixpkgs/pkgs/development/python-modules/astunparse/default.nix

34 lines
624 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "astunparse";
version = "1.6.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Wtk6hFbw0ITDRW0Fn9mpLM5meWMjLL92Pqw7xbeUCHI=";
};
build-system = [ setuptools ];
dependencies = [
six
];
# tests not included with pypi release
doCheck = false;
meta = {
description = "This is a factored out version of unparse found in the Python source distribution";
homepage = "https://github.com/simonpercivall/astunparse";
license = lib.licenses.bsd3;
};
}