Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
lib,
|
|
jre,
|
|
qt5,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "eddy";
|
|
version = "3.7.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "obdasystems";
|
|
repo = "eddy";
|
|
tag = "v${version}";
|
|
sha256 = "sha256-K8yd7A4D1LAgwuaJvxdF0oqACuMxX/CZ6yKbR7D+uEQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
qt5.qtbase
|
|
qt5.wrapQtAppsHook
|
|
python3Packages.setuptools
|
|
python3Packages.rfc3987
|
|
python3Packages.jpype1
|
|
python3Packages.pyqt5
|
|
];
|
|
|
|
# Tests fail with: ImportError: cannot import name 'QtXmlPatterns' from 'PyQt5'
|
|
doCheck = false;
|
|
|
|
preBuild = ''
|
|
export HOME=/tmp
|
|
'';
|
|
|
|
preFixup = ''
|
|
wrapQtApp "$out/bin/eddy" --prefix JAVA_HOME : ${jre}
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "http://www.obdasystems.com/eddy";
|
|
description = "Graphical editor for the specification and visualization of Graphol ontologies";
|
|
mainProgram = "eddy";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ koslambrou ];
|
|
};
|
|
}
|