depot/third_party/nixpkgs/pkgs/development/python-modules/holoviews/default.nix

55 lines
906 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
colorcet,
fetchPypi,
hatch-vcs,
hatchling,
numpy,
pandas,
panel,
param,
pythonOlder,
pyviz-comms,
}:
buildPythonPackage rec {
pname = "holoviews";
version = "1.19.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-yrFSL3WptGN3+TZLZ1vv15gS4iAFlxRHCljiFHXVMbo=";
};
build-system = [
hatch-vcs
hatchling
];
dependencies = [
colorcet
numpy
pandas
panel
param
pyviz-comms
];
# tests not fully included with pypi release
doCheck = false;
pythonImportsCheck = [ "holoviews" ];
meta = with lib; {
description = "Python data analysis and visualization seamless and simple";
mainProgram = "holoviews";
homepage = "https://www.holoviews.org/";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}