Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mypy #23565

Merged
merged 2 commits into from Mar 7, 2017
Merged

Mypy #23565

merged 2 commits into from Mar 7, 2017

Conversation

teh
Copy link
Contributor

@teh teh commented Mar 6, 2017

Motivation for this change

mypy has changed its name and versioning scheme

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@teh, thanks for your PR! By analyzing the history of the files in this pull request, we identified @martingms, @wizeman and @FRidh to be potential reviewers.

@@ -32038,6 +32038,26 @@ EOF
};
};

typed-ast = buildPythonPackage rec {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you put this in `pkgs/development/python-modules/typed-ast/default.nix

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

Is the plan to create a new file for every new module?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth sending a mail to the mailing list! I think I missed the discussion :)


# Only works with Python 3.3 and newer;
disabled = !isPy3k && !(pythonOlder "3.3");
propagatedBuildInputs = [ python ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for python here

url = "mirror://pypi/t/typed-ast/${name}.zip";
sha256 = "10srza5ycwzdirbgd68z0zkw7i4yd3wic1qmp00274lqajh7ixdm";
};
buildInputs = [ pkgs.unzip ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't we typically use fetchzip?

@teh
Copy link
Contributor Author

teh commented Mar 6, 2017

PTAL

@FRidh FRidh merged commit 03504f0 into NixOS:master Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants