2021-01-17 02:09:27 +00:00
|
|
|
{lib, stdenv, fetchurl, pkg-config, gtk2 }:
|
2014-12-14 04:36:11 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.1";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gtk2fontsel";
|
2014-12-14 04:36:11 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/gtk2fontsel/${pname}-${version}.tar.gz";
|
2014-12-14 04:36:11 +00:00
|
|
|
sha256 = "0s2sj19n8ys92q9832hkn36ld91bb4qavicc6nygkry6qdpkkmjw";
|
|
|
|
};
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-03-03 21:30:31 +00:00
|
|
|
buildInputs = [ stdenv gtk2 ];
|
2014-12-14 04:36:11 +00:00
|
|
|
|
|
|
|
preferLocalBuild = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-09-03 22:49:40 +00:00
|
|
|
description = "A font selection program for X11 using the GTK 2 toolkit";
|
2014-12-14 04:36:11 +00:00
|
|
|
longDescription = ''
|
2019-09-03 22:49:40 +00:00
|
|
|
Font selection tool similar to xfontsel implemented using GTK 2.
|
2014-12-14 04:36:11 +00:00
|
|
|
Trivial, but useful nonetheless.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://gtk2fontsel.sourceforge.net/";
|
|
|
|
downloadPage = "https://sourceforge.net/projects/gtk2fontsel/";
|
2014-12-14 04:36:11 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.prikhi ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|