Merge pull request #271227 from TomaSajt/dash

python311Packages.dash: 2.14.1 -> 2.14.2

authored by Weijia Wang and committed by GitHub 12f77d8f 6bdd104c

+12 -12
+12 -12
pkgs/development/python-modules/dash/default.nix
··· 3 , pythonOlder 4 , fetchFromGitHub 5 6 , nodejs 7 , yarn 8 , prefetch-yarn-deps 9 , fetchYarnDeps 10 11 - , setuptools 12 , flask 13 , werkzeug 14 , plotly ··· 37 38 buildPythonPackage rec { 39 pname = "dash"; 40 - version = "2.14.1"; 41 - format = "setuptools"; 42 43 disabled = pythonOlder "3.6"; 44 45 src = fetchFromGitHub { 46 owner = "plotly"; 47 - repo = pname; 48 - rev = "refs/tags/v${version}"; 49 - hash = "sha256-vQOfX9RCIbr5lfUyT2knwrO374/vm7jH+/1+BeqmRjI="; 50 }; 51 52 nativeBuildInputs = [ 53 nodejs 54 yarn 55 prefetch-yarn-deps 56 ]; 57 58 - yarnDeps = fetchYarnDeps { 59 - yarnLock = src + "/@plotly/dash-jupyterlab/yarn.lock"; 60 hash = "sha256-mkiyrA0jGiP0zbabSjgHFLEUX3f+LZdJ8eARI5QA8CU="; 61 }; 62 ··· 65 66 export HOME=$(mktemp -d) 67 68 - yarn config --offline set yarn-offline-mirror ${yarnDeps} 69 fixup-yarn-lock yarn.lock 70 71 substituteInPlace package.json --replace jlpm yarn 72 yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts 73 - patchShebangs . 74 75 # Generates the jupyterlab extension files 76 yarn run build:pack ··· 79 ''; 80 81 propagatedBuildInputs = [ 82 - setuptools # for importing pkg_resources 83 flask 84 werkzeug 85 plotly ··· 125 pythonImportsCheck = [ "dash" ]; 126 127 meta = { 128 description = "Python framework for building analytical web applications"; 129 homepage = "https://dash.plot.ly/"; 130 - changelog = "https://github.com/plotly/dash/blob/${src.rev}/CHANGELOG.md"; 131 license = lib.licenses.mit; 132 maintainers = with lib.maintainers; [ antoinerg tomasajt ]; 133 };
··· 3 , pythonOlder 4 , fetchFromGitHub 5 6 + , setuptools 7 , nodejs 8 , yarn 9 , prefetch-yarn-deps 10 , fetchYarnDeps 11 12 , flask 13 , werkzeug 14 , plotly ··· 37 38 buildPythonPackage rec { 39 pname = "dash"; 40 + version = "2.14.2"; 41 + pyproject = true; 42 43 disabled = pythonOlder "3.6"; 44 45 src = fetchFromGitHub { 46 owner = "plotly"; 47 + repo = "dash"; 48 + rev = "v${version}"; 49 + hash = "sha256-EFEsFgd3VbzlIUiz1fBIsKHywgWrL74taDFx0yIM/Ks="; 50 }; 51 52 nativeBuildInputs = [ 53 + setuptools 54 nodejs 55 yarn 56 prefetch-yarn-deps 57 ]; 58 59 + yarnOfflineCache = fetchYarnDeps { 60 + yarnLock = "${src}/@plotly/dash-jupyterlab/yarn.lock"; 61 hash = "sha256-mkiyrA0jGiP0zbabSjgHFLEUX3f+LZdJ8eARI5QA8CU="; 62 }; 63 ··· 66 67 export HOME=$(mktemp -d) 68 69 + yarn config --offline set yarn-offline-mirror ${yarnOfflineCache} 70 fixup-yarn-lock yarn.lock 71 72 substituteInPlace package.json --replace jlpm yarn 73 yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts 74 + patchShebangs node_modules 75 76 # Generates the jupyterlab extension files 77 yarn run build:pack ··· 80 ''; 81 82 propagatedBuildInputs = [ 83 flask 84 werkzeug 85 plotly ··· 125 pythonImportsCheck = [ "dash" ]; 126 127 meta = { 128 + changelog = "https://github.com/plotly/dash/blob/${src.rev}/CHANGELOG.md"; 129 description = "Python framework for building analytical web applications"; 130 homepage = "https://dash.plot.ly/"; 131 license = lib.licenses.mit; 132 maintainers = with lib.maintainers; [ antoinerg tomasajt ]; 133 };