4cb23072fc
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
34 lines
858 B
Nix
34 lines
858 B
Nix
{ stdenv, lib, cmake, fetchFromGitHub
|
|
, wrapQtAppsHook, qtbase, qtquickcontrols2, qtgraphicaleffects
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "graphia";
|
|
version = "2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "graphia-app";
|
|
repo = "graphia";
|
|
rev = version;
|
|
sha256 = "sha256:05givvvg743sawqy2vhljkfgn5v1s907sflsnsv11ddx6x51na1w";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
wrapQtAppsHook
|
|
];
|
|
buildInputs = [
|
|
qtbase
|
|
qtquickcontrols2
|
|
qtgraphicaleffects
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A visualisation tool for the creation and analysis of graphs.";
|
|
homepage = "https://graphia.app";
|
|
license = licenses.gpl3Only;
|
|
maintainers = [ maintainers.bgamari ];
|
|
platforms = platforms.all;
|
|
broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/graphia.x86_64-darwin
|
|
};
|
|
}
|