From 2595be06af5c174aae5abee4f07bb050f88c13f7 Mon Sep 17 00:00:00 2001 From: Ingo Blechschmidt Date: Thu, 25 Oct 2018 19:04:14 +0200 Subject: [PATCH] tikzit: init at 2.0 (#48479) * tikzit: init at 2.0 * tikzit: Parallel building and qualification --- pkgs/tools/typesetting/tikzit/default.nix | 31 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/tools/typesetting/tikzit/default.nix diff --git a/pkgs/tools/typesetting/tikzit/default.nix b/pkgs/tools/typesetting/tikzit/default.nix new file mode 100644 index 00000000000..23d8093606b --- /dev/null +++ b/pkgs/tools/typesetting/tikzit/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, qmake, qttools, qtbase, flex, bison }: + +stdenv.mkDerivation rec { + name = "tikzit-${version}"; + version = "2.0"; + + src = fetchFromGitHub { + owner = "tikzit"; + repo = "tikzit"; + rev = "v${version}"; + sha256 = "0fwxr9rc9vmw2jzpj084rygzyhp4xm3vm737668az600ln2scyad"; + }; + + nativeBuildInputs = [ qmake qttools flex bison ]; + buildInputs = [ qtbase ]; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + description = "A graphical tool for rapidly creating graphs and diagrams using PGF/TikZ"; + longDescription = '' + TikZiT is a simple GUI editor for graphs and string diagrams. + Its native file format is a subset of PGF/TikZ, which means TikZiT files + can be included directly in papers typeset using LaTeX. + ''; + homepage = https://tikzit.github.io/; + license = licenses.gpl3Plus; + platforms = platforms.all; + maintainers = [ maintainers.iblech maintainers.mgttlinger ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dc12e6b0c7e..24d61f87322 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5633,6 +5633,8 @@ with pkgs; tie = callPackage ../development/tools/misc/tie { }; + tikzit = libsForQt5.callPackage ../tools/typesetting/tikzit { }; + tilix = callPackage ../applications/misc/tilix { }; tinc_pre = callPackage ../tools/networking/tinc/pre.nix { };