Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{ lib, buildPythonPackage, fetchFromGitHub,
# nativeBuildInputs nodejs, yarn-berry_3,
# build-system hatch, hatchling, hatch-build-scripts, hatch-jupyter-builder, hatch-nodejs-version, jupyterlab,
# dependencies ipywidgets, numpy, traitlets, traittypes,}:
buildPythonPackage (finalAttrs: { pname = "bqscales"; version = "0.3.7"; pyproject = true; __structuredAttrs = true;
src = fetchFromGitHub { owner = "bqplot"; repo = "bqscales"; tag = finalAttrs.version; hash = "sha256-AAKnOEwdycSlxJEK0qbFJp2Dpiw/rEIk7fUa3NTymqQ="; };
missingHashes = ./missing-hashes.json;
yarnOfflineCache = yarn-berry_3.fetchYarnBerryDeps { inherit (finalAttrs) src missingHashes; hash = "sha256-4Y5dRFwOyfHOzrdw2/epK3mN/+xrz+ccG86KP9axxjI="; };
nativeBuildInputs = [ nodejs yarn-berry_3 yarn-berry_3.yarnBerryConfigHook ];
preBuild = '' npm run build '';
build-system = [ hatch hatch-build-scripts hatch-jupyter-builder hatch-nodejs-version hatchling jupyterlab ];
dependencies = [ ipywidgets numpy traitlets traittypes ];
env.SKIP_JUPYTER_BUILDER = 1;
# no python tests doCheck = false;
pythonImportsCheck = [ "bqscales" ];
meta = { description = "Grammar of Graphics scales for bqplot and other Jupyter widgets libraries"; homepage = "https://github.com/bqplot/bqscales"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ bcdarwin ]; };})