python3Packages.bqscales: 0.3.3 -> 0.3.7

This commit was automatically generated using update-python-libraries.
This commit is contained in:
Martin Weinelt
2026-01-21 18:32:13 +01:00
parent 5e775fba6d
commit 087521666b
2 changed files with 46 additions and 8 deletions
@@ -1,33 +1,68 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
# frontend
nodejs,
yarn-berry_3,
# build-system
hatchling,
hatch-build-scripts,
hatch-jupyter-builder,
hatch-nodejs-version,
jupyterlab,
# dependencies
ipywidgets,
numpy,
traitlets,
traittypes,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "bqscales";
version = "0.3.3";
version = "0.3.7";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-SlnNw4dWOzRedwIN3kCyl95qVqkY92QGOMS3Eyoqk0I=";
src = fetchFromGitHub {
owner = "bqplot";
repo = "bqscales";
tag = finalAttrs.version;
hash = "sha256-AAKnOEwdycSlxJEK0qbFJp2Dpiw/rEIk7fUa3NTymqQ=";
};
postPatch = ''
sed -i "/\"hatch\"/d" pyproject.toml
'';
missingHashes = ./missing-hashes.json;
yarnOfflineCache = yarn-berry_3.fetchYarnBerryDeps {
inherit (finalAttrs) src missingHashes;
hash = "sha256-4Y5dRFwOyfHOzrdw2/epK3mN/+xrz+ccG86KP9axxjI=";
};
nativeBuildInputs = [
nodejs
yarn-berry_3.yarnBerryConfigHook
yarn-berry_3
];
preBuild = ''
npm run build
'';
build-system = [
hatch-build-scripts
hatch-jupyter-builder
hatch-nodejs-version
hatchling
jupyterlab
];
propagatedBuildInputs = [
dependencies = [
ipywidgets
numpy
traitlets
@@ -47,4 +82,4 @@ buildPythonPackage rec {
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
})
@@ -0,0 +1,3 @@
{
"@rollup/rollup-linux-x64-gnu@npm:4.9.5": "234c780999740b15999190d33d5994b28c880169a08ab5b82bb8dbc65f24d61329193e9f3817ed499f8486346336b8f256b32e020cbf4d81747d81cd490f6498"
}