Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.orange3: setup direct dependencies to fetch from GitHub + bump #354279

Merged
merged 10 commits into from
Dec 30, 2024
22 changes: 15 additions & 7 deletions pkgs/development/python-modules/orange-widget-base/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
lib,
gitUpdater,
stdenv,
buildPythonPackage,
fetchPypi,
setuptools,
fetchFromGitHub,
pyqt5,
pyqtwebengine,
matplotlib,
Expand All @@ -17,15 +19,19 @@

buildPythonPackage rec {
pname = "orange-widget-base";
version = "4.24.0";
format = "setuptools";
version = "4.25.0";
pyproject = true;

src = fetchPypi {
inherit pname version;
hash = "sha256-2cBg7s4+qMrb2G4sMk5yednOzJCNheHIQ3lty4KAg18=";
build-system = [ setuptools ];
lucasew marked this conversation as resolved.
Show resolved Hide resolved

src = fetchFromGitHub {
owner = "biolab";
repo = "orange-widget-base";
rev = "refs/tags/${version}";
lucasew marked this conversation as resolved.
Show resolved Hide resolved
hash = "sha256-tWo8vwC8xLA2ZKeab2GqpXGdlHhaqOT9wu1efqSHZSg=";
};

propagatedBuildInputs = [
dependencies = [
matplotlib
orange-canvas-core
pyqt5
Expand Down Expand Up @@ -53,6 +59,8 @@ buildPythonPackage rec {
"orangewidget/tests/test_widget.py"
];

passthru.updateScript = gitUpdater { };

meta = {
description = "Implementation of the base OWBaseWidget class and utilities for use in Orange Canvas workflows";
homepage = "https://github.com/biolab/orange-widget-base";
Expand Down