mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
python3Packages.pyldavis: init at 3.4.1 (#354505)
This commit is contained in:
commit
7266f0b7a5
51
pkgs/development/python-modules/pyldavis/default.nix
Normal file
51
pkgs/development/python-modules/pyldavis/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
funcy,
|
||||
ipython,
|
||||
jinja2,
|
||||
joblib,
|
||||
numpy,
|
||||
pandas,
|
||||
scikit-learn,
|
||||
scipy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyLDAvis";
|
||||
version = "3.4.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bmabey";
|
||||
repo = "pyLDAvis";
|
||||
rev = version;
|
||||
sha256 = "sha256-WIQytds3PeU85l6ix2UUIwypjpM5rMZvQxiHx9BY91Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
funcy
|
||||
jinja2
|
||||
joblib
|
||||
ipython
|
||||
numpy
|
||||
pandas
|
||||
scikit-learn
|
||||
scipy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyLDAvis"
|
||||
"pyLDAvis.gensim_models"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/bmabey/pyLDAvis";
|
||||
description = "Python library for interactive topic model visualization";
|
||||
maintainers = with lib.maintainers; [ gm6k ];
|
||||
license = licenses.bsd3;
|
||||
sourceProvenance = with sourceTypes; [ fromSource ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -10419,6 +10419,8 @@ self: super: with self; {
|
||||
inherit (pkgs) protobuf;
|
||||
};
|
||||
|
||||
pyldavis = callPackage ../development/python-modules/pyldavis { };
|
||||
|
||||
pylddwrap = callPackage ../development/python-modules/pylddwrap { };
|
||||
|
||||
pyloadapi = callPackage ../development/python-modules/pyloadapi { };
|
||||
|
Loading…
Reference in New Issue
Block a user