nixpkgs/pkgs/tools/typesetting/tikzit/default.nix

34 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, mkDerivation, fetchFromGitHub, qmake, qttools, qtbase, poppler, flex, bison }:
2020-02-24 21:12:02 +00:00
mkDerivation {
pname = "tikzit";
2020-08-24 10:43:29 +00:00
version = "2.1.6";
src = fetchFromGitHub {
owner = "tikzit";
repo = "tikzit";
2020-08-24 10:43:29 +00:00
rev = "v2.1.6";
sha256 = "0ba99pgv54pj1xvhrwn9db2w0v4h07vsjajcnhpa2smy88ypg32h";
};
nativeBuildInputs = [ qmake qttools flex bison ];
2020-02-24 21:12:02 +00:00
buildInputs = [ qtbase poppler ];
# src/data/tikzlexer.l:29:10: fatal error: tikzparser.parser.hpp: No such file or directory
enableParallelBuilding = false;
meta = with 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.
2019-01-08 18:49:56 +00:00
For preview support the texlive package 'preview' has to be installed.
'';
homepage = "https://tikzit.github.io/";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = [ maintainers.iblech maintainers.mgttlinger ];
};
}