summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/astunparse/default.nix
blob: fdff2e83ebf93d05e6e6736014559bbba73e79ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  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;
  };
}