nixpkgs/pkgs/applications/graphics/fontmatrix/default.nix

33 lines
946 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchpatch, fetchFromGitHub, cmake, qttools, qtwebkit }:
2015-12-11 13:35:04 +00:00
mkDerivation rec {
pname = "fontmatrix";
version = "0.6.0-qt5";
src = fetchFromGitHub {
owner = "fcoiffie";
repo = "fontmatrix";
rev = "1ff8382d8c85c18d9962918f461341ff4fe21993";
sha256 = "0yx1gbsjj9ddq1kiqplif1w5x5saw250zbmhmd4phqmaqzr60w0h";
2015-12-11 13:35:04 +00:00
};
# Add missing QAction include
patches = [ (fetchpatch {
url = "https://github.com/fcoiffie/fontmatrix/commit/dc6de8c414ae21516b72daead79c8db88309b102.patch";
sha256 = "092860fdyf5gq67jqfxnlgwzjgpizi6j0njjv3m62aiznrhig7c8";
})];
buildInputs = [ qttools qtwebkit ];
2015-12-11 13:35:04 +00:00
nativeBuildInputs = [ cmake ];
2016-08-04 08:40:28 +01:00
hardeningDisable = [ "format" ];
meta = with lib; {
2015-12-11 13:35:04 +00:00
description = "Fontmatrix is a free/libre font explorer for Linux, Windows and Mac";
homepage = "https://github.com/fontmatrix/fontmatrix";
license = licenses.gpl2Plus;
platforms = platforms.linux;
2015-12-11 13:35:04 +00:00
};
}