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.0 KiB
Nix
50 lines
1.0 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
cmake,
|
|
git,
|
|
fetchFromGitHub,
|
|
wrapQtAppsHook,
|
|
qtbase,
|
|
qtdeclarative,
|
|
qtsvg,
|
|
qtwebengine,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "graphia";
|
|
version = "5.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "graphia-app";
|
|
repo = "graphia";
|
|
rev = version;
|
|
sha256 = "sha256-tS5oqpwpqvWGu67s8OuA4uQR3Zb5VzHTY/GnfVQki6k=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
git # needs to define some hash as a version
|
|
wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qtdeclarative
|
|
qtsvg
|
|
qtwebengine
|
|
];
|
|
|
|
meta = with lib; {
|
|
# never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/graphia.x86_64-darwin
|
|
broken =
|
|
(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) || stdenv.hostPlatform.isDarwin;
|
|
description = "Visualisation tool for the creation and analysis of graphs";
|
|
homepage = "https://graphia.app";
|
|
license = licenses.gpl3Only;
|
|
mainProgram = "Graphia";
|
|
maintainers = [ maintainers.bgamari ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|