2023-08-23 15:40:05 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, qttools
|
|
|
|
, qtwebkit
|
|
|
|
}:
|
2015-12-11 13:35:04 +00:00
|
|
|
|
2020-09-21 06:01:37 +00:00
|
|
|
mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "fontmatrix";
|
2023-08-23 15:40:05 +00:00
|
|
|
version = "0.9.100";
|
2017-03-18 23:30:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-08-23 15:40:05 +00:00
|
|
|
owner = "fontmatrix";
|
2017-03-18 23:30:57 +00:00
|
|
|
repo = "fontmatrix";
|
2023-08-23 15:40:05 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-DtajGhx79DiecglXHja9q/TKVq8Jl2faQdA5Ib/yT88=";
|
2015-12-11 13:35:04 +00:00
|
|
|
};
|
|
|
|
|
2020-09-21 06:01:37 +00:00
|
|
|
buildInputs = [ qttools qtwebkit ];
|
2015-12-11 13:35:04 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2020-09-21 06:01:37 +00:00
|
|
|
meta = with lib; {
|
2015-12-11 13:35:04 +00:00
|
|
|
description = "Fontmatrix is a free/libre font explorer for Linux, Windows and Mac";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/fontmatrix/fontmatrix";
|
2020-09-21 06:01:37 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2017-03-18 23:30:57 +00:00
|
|
|
platforms = platforms.linux;
|
2015-12-11 13:35:04 +00:00
|
|
|
};
|
|
|
|
}
|