This reverts commit65a333600d. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 /758551e458
52 lines
923 B
Nix
52 lines
923 B
Nix
{
|
|
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;
|
|
};
|
|
}
|