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