depot/third_party/nixpkgs/pkgs/by-name/qg/qgv/package.nix

44 lines
794 B
Nix

{
cmake,
fetchFromGitHub,
graphviz,
jrl-cmakemodules,
lib,
libsForQt5,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "qgv";
version = "1.3.5";
src = fetchFromGitHub {
owner = "gepetto";
repo = "qgv";
rev = "v${finalAttrs.version}";
hash = "sha256-NUMCVqXw7euwxm4vISU8qYFfvV5HbAJsj/IjyxEjCPw=";
};
buildInputs = [
libsForQt5.qtbase
libsForQt5.qttools
];
nativeBuildInputs = [
cmake
libsForQt5.wrapQtAppsHook
];
propagatedBuildInputs = [
graphviz
jrl-cmakemodules
];
meta = {
description = "Interactive Qt graphViz display";
homepage = "https://github.com/gepetto/qgv";
license = lib.licenses.lgpl3Only;
maintainers = [ lib.maintainers.nim65s ];
platforms = lib.platforms.unix;
};
})