1{
2 buildPythonPackage,
3 lib,
4 git,
5 fetchFromGitHub,
6 setuptools,
7 git-annex,
8 pyside6,
9 pyqtdarktheme,
10 datalad-next,
11 outdated,
12 datalad,
13 pytestCheckHook,
14 pytest-qt,
15}:
16
17buildPythonPackage {
18 pname = "datalad-gooey";
19 # many bug fixes on `master` but no new release
20 version = "unstable-2024-02-20";
21 pyproject = true;
22
23 src = fetchFromGitHub {
24 owner = "datalad";
25 repo = "datalad-gooey";
26 rev = "5bd6b9257ff1569439d2a77663271f5d665e61b6";
27 hash = "sha256-8779SLcV4wwJ3124lteGzvimDxgijyxa818ZrumPMs4=";
28 };
29
30 build-system = [ setuptools ];
31
32 dependencies = [
33 pyside6
34 pyqtdarktheme
35 datalad-next
36 outdated
37 datalad
38 ];
39
40 pythonRemoveDeps = [ "applescript" ];
41
42 preCheck = ''
43 export HOME=$TMPDIR
44 '';
45
46 nativeCheckInputs = [
47 pytestCheckHook
48 pytest-qt
49 git
50 git-annex
51 ];
52
53 pythonImportsCheck = [ "datalad_gooey" ];
54
55 meta = {
56 description = "Graphical user interface (GUI) for DataLad";
57 homepage = "https://github.com/datalad/datalad-gooey";
58 license = lib.licenses.mit;
59 maintainers = with lib.maintainers; [ gador ];
60 mainProgram = "datalad-gooey";
61 };
62}