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

kenlm: init at unstable-2020-11-14 #103858

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

znewman01
Copy link

Motivation for this change

kenlm is a natural language processing tool for dealing with language models: estimating, filtering, and querying.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Copy link
Member

@IvarWithoutBones IvarWithoutBones left a comment

Choose a reason for hiding this comment

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

A few suggestions :)

maintainers/maintainer-list.nix Show resolved Hide resolved
pkgs/tools/text/kenlm/default.nix Outdated Show resolved Hide resolved
pkgs/tools/text/kenlm/default.nix Outdated Show resolved Hide resolved
pkgs/tools/text/kenlm/default.nix Outdated Show resolved Hide resolved
pkgs/tools/text/kenlm/default.nix Outdated Show resolved Hide resolved
pkgs/tools/text/kenlm/default.nix Outdated Show resolved Hide resolved
Copy link
Author

@znewman01 znewman01 left a comment

Choose a reason for hiding this comment

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

Thank you for the detailed review! (If you can't tell, I don't write a lot of Nix and cargo-culted much of this commit).

I've resolved all of your comments; in general, I did exactly as requested, except that I removed the "doCheck" entirely (there's no obvious test target in kenlm).

maintainers/maintainer-list.nix Show resolved Hide resolved
Comment on lines +4 to +5
pname = "kenlm-unstable";
version = "2020-11-03";
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
pname = "kenlm-unstable";
version = "2020-11-03";
pname = "kenlm";
version = "unstable-2020-11-03";

Copy link
Author

Choose a reason for hiding this comment

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

@IvarWithoutBones suggested the opposite of this change and referred to #68518

@stale
Copy link

stale bot commented Jul 20, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 20, 2021
nativeBuildInputs = [ cmake ];
buildInputs = [ boost eigen xz zlib bzip2 ];

meta = with stdenv.lib; {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
meta = with stdenv.lib; {
meta = with lib; {

@stale stale bot removed 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md labels Nov 7, 2022
@wegank wegank added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Mar 19, 2024
@wegank wegank marked this pull request as draft March 20, 2024 15:39
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