Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 874 B view raw
1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, hatchling 6, jupyter-packaging 7, ipywidgets 8, numpy 9, traitlets 10, traittypes 11}: 12 13buildPythonPackage rec { 14 pname = "bqscales"; 15 version = "0.3.1"; 16 17 format = "pyproject"; 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-C+/GLpqYpePngbn5W0MwvpdmVgFZF7aGHyKMgO5XM90="; 23 }; 24 25 nativeBuildInputs = [ 26 hatchling 27 jupyter-packaging 28 ]; 29 30 propagatedBuildInputs = [ 31 ipywidgets 32 numpy 33 traitlets 34 traittypes 35 ]; 36 37 # no tests in PyPI dist 38 doCheck = false; 39 40 pythonImportsCheck = [ "bqscales" ]; 41 42 meta = { 43 description = "Grammar of Graphics scales for bqplot and other Jupyter widgets libraries"; 44 homepage = "https://github.com/bqplot/bqscales"; 45 license = lib.licenses.asl20; 46 maintainers = with lib.maintainers; [ bcdarwin ]; 47 }; 48}