2017-03-19 00:30:57 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, qt4 }:
|
2015-12-11 14:35:04 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-19 00:30:57 +01:00
|
|
|
name = "fontmatrix-${version}";
|
|
|
|
version = "0.6.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fontmatrix";
|
|
|
|
repo = "fontmatrix";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0aqndj1jhm6hjpwmj1qm92z2ljh7w78a5ff5ag47qywqha1ngn05";
|
2015-12-11 14:35:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ qt4 ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2016-08-04 09:40:28 +02:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2017-03-19 00:30:57 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-12-11 14:35:04 +01:00
|
|
|
description = "Fontmatrix is a free/libre font explorer for Linux, Windows and Mac";
|
2017-08-02 23:50:51 +02:00
|
|
|
homepage = https://github.com/fontmatrix/fontmatrix;
|
2017-03-19 00:30:57 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2015-12-11 14:35:04 +01:00
|
|
|
};
|
|
|
|
}
|