summary refs log tree commit diff
path: root/pkgs/applications/graphics/fontmatrix/default.nix
blob: 3b866297603270df7a21aae2a03fc5b1db337ffd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchFromGitHub, cmake, qt4 }:

stdenv.mkDerivation rec {
  pname = "fontmatrix";
  version = "0.6.0";

  src = fetchFromGitHub {
    owner = "fontmatrix";
    repo = "fontmatrix";
    rev = "v${version}";
    sha256 = "0aqndj1jhm6hjpwmj1qm92z2ljh7w78a5ff5ag47qywqha1ngn05";
  };

  buildInputs = [ qt4 ];

  nativeBuildInputs = [ cmake ];

  hardeningDisable = [ "format" ];

  meta = with stdenv.lib; {
    description = "Fontmatrix is a free/libre font explorer for Linux, Windows and Mac";
    homepage = https://github.com/fontmatrix/fontmatrix;
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}