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

aenum: Init at 1.4.7 #22748

Merged
merged 1 commit into from Feb 15, 2017
Merged

aenum: Init at 1.4.7 #22748

merged 1 commit into from Feb 15, 2017

Conversation

vrthra
Copy link
Member

@vrthra vrthra commented Feb 13, 2017

Motivation for this change
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

@vrthra, thanks for your PR! By analyzing the history of the files in this pull request, we identified @FRidh to be a potential reviewer.

name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
Copy link
Member

Choose a reason for hiding this comment

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

does fetchPypi take pname? Should this buildPythonPackage call be embedded directly in python-packages.nix?

Copy link
Member Author

Choose a reason for hiding this comment

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

fetchPypi (defined in pkgs/top-level/python-packages.nix) takes pname and version. Do you mean, put the expression in pkgs/top-level/python-packages.nix? I was asked earlier to put the new expressions in python-modules

Copy link
Member

Choose a reason for hiding this comment

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

@grahamc fetchPypi is a new helper, taking pname, version, and optionally format along with some extra arguments in case format = "wheel".

New expressions are preferably put in separate files in python-modules. python-packages.nix is getting too big. This is correct now @vrthra

@fpletz fpletz merged commit e69f764 into NixOS:master Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants