Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
911 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ 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 = [ ]; };}