Loading pkgs/development/python-modules/curvefitgui/default.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, pythonAtLeast, numpy, scipy, pyqt5, matplotlib, }: buildPythonPackage { pname = "curvefitgui"; version = "0-unstable-2021-08-25"; pyproject = true; # For some reason, importing the main module makes the whole python # interpreter crash! This needs further investigation, possibly the problem # is with one of the dependencies.. See upstream report: # https://github.com/moosepy/curvefitgui/issues/2 disabled = pythonAtLeast "3.12"; src = fetchFromGitHub { owner = "moosepy"; repo = "curvefitgui"; rev = "5f1e7f3b95cd77d10bd8183c9a501e47ff94fad7"; hash = "sha256-oK0ROKxh/91OrHhuufG6pvc2EMBeMP8R5O+ED2thyW8="; }; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ numpy scipy pyqt5 matplotlib ]; pythonImportsCheck = [ "curvefitgui" ]; meta = { description = "Graphical interface to the non-linear curvefit function scipy.optimise.curve_fit"; homepage = "https://github.com/moosepy/curvefitgui"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ doronbehar ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -2650,6 +2650,8 @@ self: super: with self; { curve25519-donna = callPackage ../development/python-modules/curve25519-donna { }; curvefitgui = callPackage ../development/python-modules/curvefitgui { }; cvelib = callPackage ../development/python-modules/cvelib { }; cvss = callPackage ../development/python-modules/cvss { }; Loading Loading
pkgs/development/python-modules/curvefitgui/default.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, pythonAtLeast, numpy, scipy, pyqt5, matplotlib, }: buildPythonPackage { pname = "curvefitgui"; version = "0-unstable-2021-08-25"; pyproject = true; # For some reason, importing the main module makes the whole python # interpreter crash! This needs further investigation, possibly the problem # is with one of the dependencies.. See upstream report: # https://github.com/moosepy/curvefitgui/issues/2 disabled = pythonAtLeast "3.12"; src = fetchFromGitHub { owner = "moosepy"; repo = "curvefitgui"; rev = "5f1e7f3b95cd77d10bd8183c9a501e47ff94fad7"; hash = "sha256-oK0ROKxh/91OrHhuufG6pvc2EMBeMP8R5O+ED2thyW8="; }; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ numpy scipy pyqt5 matplotlib ]; pythonImportsCheck = [ "curvefitgui" ]; meta = { description = "Graphical interface to the non-linear curvefit function scipy.optimise.curve_fit"; homepage = "https://github.com/moosepy/curvefitgui"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ doronbehar ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -2650,6 +2650,8 @@ self: super: with self; { curve25519-donna = callPackage ../development/python-modules/curve25519-donna { }; curvefitgui = callPackage ../development/python-modules/curvefitgui { }; cvelib = callPackage ../development/python-modules/cvelib { }; cvss = callPackage ../development/python-modules/cvss { }; Loading