1 {stdenv, lib, vala, meson, ninja, pkg-config, fetchFromGitea, gobject-introspection, glib, gtk3}:
3 stdenv.mkDerivation rec {
7 outputs = [ "out" "dev" "devdoc" ];
8 outputBin = "devdoc"; # demo app
10 src = fetchFromGitea {
11 domain = "notabug.org";
14 rev = "gflow_${version}";
15 hash = "sha256-JoVq7U5JQ3pRxptR7igWFw7lcBTsgr3aVXxayLqhyFo=";
32 # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
33 moveToOutput "share/doc" "$devdoc"
37 "-Denable_valadoc=true"
43 description = "Flow graph widget for GTK 3";
44 homepage = "https://notabug.org/grindhold/libgtkflow";
45 maintainers = with maintainers; [ grindhold ];
46 license = licenses.lgpl3Plus;
47 platforms = platforms.unix;