7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
64 lines
1.2 KiB
Nix
64 lines
1.2 KiB
Nix
{
|
|
buildPythonPackage,
|
|
lib,
|
|
git,
|
|
fetchFromGitHub,
|
|
darwin,
|
|
setuptools,
|
|
stdenv,
|
|
git-annex,
|
|
pyside6,
|
|
pyqtdarktheme,
|
|
datalad-next,
|
|
outdated,
|
|
datalad,
|
|
pytestCheckHook,
|
|
pytest-qt,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "datalad-gooey";
|
|
# many bug fixes on `master` but no new release
|
|
version = "unstable-2024-02-20";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "datalad";
|
|
repo = "datalad-gooey";
|
|
rev = "5bd6b9257ff1569439d2a77663271f5d665e61b6";
|
|
hash = "sha256-8779SLcV4wwJ3124lteGzvimDxgijyxa818ZrumPMs4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
pyside6
|
|
pyqtdarktheme
|
|
datalad-next
|
|
outdated
|
|
datalad
|
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.AppleScriptKit ];
|
|
|
|
pythonRemoveDeps = [ "applescript" ];
|
|
|
|
preCheck = ''
|
|
export HOME=$TMPDIR
|
|
'';
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-qt
|
|
git
|
|
git-annex
|
|
];
|
|
|
|
pythonImportsCheck = [ "datalad_gooey" ];
|
|
|
|
meta = {
|
|
description = "Graphical user interface (GUI) for DataLad";
|
|
homepage = "https://github.com/datalad/datalad-gooey";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ gador ];
|
|
mainProgram = "datalad-gooey";
|
|
};
|
|
}
|