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

nltk: init at 3.2.2 #23659

Merged
merged 1 commit into from Mar 9, 2017
Merged

nltk: init at 3.2.2 #23659

merged 1 commit into from Mar 9, 2017

Conversation

lheckemann
Copy link
Member

Motivation for this change

NLTK is a useful library for natural language processing.

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 for py in 27 33 34 35 ; do nix-build -A python${py}Packages.nltk ; done
  • Tested execution of all binary files (none)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

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

@@ -283,6 +283,35 @@ in {
# version of nixpart.
nixpart0 = callPackage ../tools/filesystems/nixpart/0.4 { };

nltk = 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.

We have a new policy for python to put python packages into a separate file and only reference them here:

See also:

$ chromium "file://$(nix-build --no-out-link doc)//share/doc/nixpkgs/manual.html#contributing-guidelines"

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, I missed that. Will fix!

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

sha256 = "13m8i393h5mhpyvh5rghxxpax3bscv8li3ynwfdiq0kh8wsdndqv";
};

buildInputs = [ six ];
Copy link
Member

@Mic92 Mic92 Mar 9, 2017

Choose a reason for hiding this comment

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

Is six only required at build time? If not it should be in propagatedBuildInputs instead.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed!

@Mic92
Copy link
Member

Mic92 commented Mar 9, 2017

Thanks!

@lheckemann lheckemann deleted the nltk branch March 9, 2017 13:51
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

3 participants