nixpkgs/pkgs/applications/misc/gtk2fontsel/default.nix

30 lines
854 B
Nix
Raw Normal View History

2019-03-03 22:30:31 +01:00
{stdenv, fetchurl, pkgconfig, gtk2 }:
2014-12-14 05:36:11 +01:00
stdenv.mkDerivation rec {
version = "0.1";
pname = "gtk2fontsel";
2014-12-14 05:36:11 +01:00
src = fetchurl {
url = "mirror://sourceforge/gtk2fontsel/${pname}-${version}.tar.gz";
2014-12-14 05:36:11 +01:00
sha256 = "0s2sj19n8ys92q9832hkn36ld91bb4qavicc6nygkry6qdpkkmjw";
};
nativeBuildInputs = [ pkgconfig ];
2019-03-03 22:30:31 +01:00
buildInputs = [ stdenv gtk2 ];
2014-12-14 05:36:11 +01:00
preferLocalBuild = true;
meta = with stdenv.lib; {
description = "A font selection program for X11 using the GTK 2 toolkit";
2014-12-14 05:36:11 +01:00
longDescription = ''
Font selection tool similar to xfontsel implemented using GTK 2.
2014-12-14 05:36:11 +01:00
Trivial, but useful nonetheless.
'';
homepage = http://gtk2fontsel.sourceforge.net/;
2018-12-01 19:49:28 +01:00
downloadPage = https://sourceforge.net/projects/gtk2fontsel/;
2014-12-14 05:36:11 +01:00
license = licenses.gpl2;
maintainers = [ maintainers.prikhi ];
platforms = platforms.linux;
};
}