about summary refs log tree commit diff
path: root/pkgs/by-name/qg/qgv/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/qg/qgv/package.nix')
-rw-r--r--pkgs/by-name/qg/qgv/package.nix44
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/by-name/qg/qgv/package.nix b/pkgs/by-name/qg/qgv/package.nix
new file mode 100644
index 000000000000..d9ab3c7fc437
--- /dev/null
+++ b/pkgs/by-name/qg/qgv/package.nix
@@ -0,0 +1,44 @@
+{
+  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;
+  };
+})