Files
nixpkgs/pkgs/development/python-modules/plotly/default.nix
T
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

47 lines
911 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
packaging,
tenacity,
}:
buildPythonPackage rec {
pname = "plotly";
version = "5.23.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-ieV9ADoRYwOjTeZwCGI5E2fdVkIiq3H4Ux33Ann8AZM=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "\"jupyterlab~=3.0;python_version>='3.6'\"," ""
'';
env.SKIP_NPM = true;
build-system = [ setuptools ];
dependencies = [
packaging
tenacity
];
pythonImportsCheck = [ "plotly" ];
# No tests in archive
doCheck = false;
meta = with lib; {
description = "Python plotting library for collaborative, interactive, publication-quality graphs";
downloadPage = "https://github.com/plotly/plotly.py";
homepage = "https://plot.ly/python/";
license = with licenses; [ mit ];
maintainers = [ ];
};
}