Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / astor / default.nix
blobf69afaf55252c13a37fa060df372acdcee8c5e05
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "astor";
9   version = "0.8.1";
10   format = "setuptools";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "0ppscdzzvxpznclkmhhj53iz314x3pfv4yc7c6gwxqgljgdgyvka";
15   };
17   # disable tests broken with python3.6: https://github.com/berkerpeksag/astor/issues/89
18   nativeCheckInputs = [
19     pytestCheckHook
20   ];
22   disabledTests = [
23     # https://github.com/berkerpeksag/astor/issues/196
24     "test_convert_stdlib"
25     # https://github.com/berkerpeksag/astor/issues/212
26     "test_huge_int"
27   ];
29   meta = with lib; {
30     description = "Library for reading, writing and rewriting python AST";
31     homepage = "https://github.com/berkerpeksag/astor";
32     license = licenses.bsd3;
33     maintainers = with maintainers; [ nixy ];
34   };