1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5
6 # build-system
7 setuptools,
8
9 # depedencies
10 numpy,
11 scipy,
12 pyqt5,
13 matplotlib,
14}:
15
16buildPythonPackage {
17 pname = "curvefitgui";
18 version = "0-unstable-2021-08-25";
19 pyproject = true;
20
21 src = fetchFromGitHub {
22 owner = "moosepy";
23 repo = "curvefitgui";
24 rev = "5f1e7f3b95cd77d10bd8183c9a501e47ff94fad7";
25 hash = "sha256-oK0ROKxh/91OrHhuufG6pvc2EMBeMP8R5O+ED2thyW8=";
26 };
27
28 build-system = [
29 setuptools
30 ];
31
32 dependencies = [
33 numpy
34 scipy
35 pyqt5
36 matplotlib
37 ];
38
39 pythonImportsCheck = [ "curvefitgui" ];
40
41 meta = {
42 description = "Graphical interface to the non-linear curvefit function scipy.optimise.curve_fit";
43 homepage = "https://github.com/moosepy/curvefitgui";
44 license = lib.licenses.mit;
45 maintainers = with lib.maintainers; [ doronbehar ];
46 };
47}