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
56 lines
1.3 KiB
Nix
56 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchzip,
|
|
makeWrapper,
|
|
unzip,
|
|
jre,
|
|
wrapGAppsHook3,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "yEd";
|
|
version = "3.25.1";
|
|
|
|
# nixpkgs-update: no auto update
|
|
src = fetchzip {
|
|
# to update: archive https://www.yworks.com/resources/yed/demo/yEd-${version}.zip
|
|
url = "https://web.archive.org/web/20250322075239/https://www.yworks.com/resources/yed/demo/yEd-3.25.1.zip";
|
|
sha256 = "sha256-CDciM2IW+nocbFMVmTXMWh2eYcDAMZ+lxsg/Rb7KRgo=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
makeWrapper
|
|
unzip
|
|
wrapGAppsHook3
|
|
];
|
|
# For wrapGAppsHook3 setup hook
|
|
buildInputs = [ (jre.gtk3 or null) ];
|
|
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
dontInstall = true;
|
|
|
|
preFixup = ''
|
|
mkdir -p $out/yed
|
|
cp -r * $out/yed
|
|
mkdir -p $out/bin
|
|
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
makeWrapper ${jre}/bin/java $out/bin/yed \
|
|
''${makeWrapperArgs[@]} \
|
|
--add-flags "-jar $out/yed/yed.jar --"
|
|
'';
|
|
dontWrapGApps = true;
|
|
|
|
meta = {
|
|
license = lib.licenses.unfree;
|
|
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
|
homepage = "https://www.yworks.com/products/yed";
|
|
description = "Powerful desktop application that can be used to quickly and effectively generate high-quality diagrams";
|
|
platforms = jre.meta.platforms;
|
|
maintainers = [ ];
|
|
mainProgram = "yed";
|
|
};
|
|
}
|