mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
32 lines
624 B
Nix
32 lines
624 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
six,
|
|
wheel,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "astunparse";
|
|
version = "1.6.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "5ad93a8456f0d084c3456d059fd9a92cce667963232cbf763eac3bc5b7940872";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
wheel
|
|
];
|
|
|
|
# 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;
|
|
};
|
|
}
|