diff options
author | Pavan Rikhi <pavan.rikhi+agit@gmail.com> | 2014-12-13 23:36:11 -0500 |
---|---|---|
committer | Pavan Rikhi <pavan.rikhi+agit@gmail.com> | 2014-12-13 23:37:44 -0500 |
commit | 292eb57af8d49a953bdb71a703faa59d196caa41 (patch) | |
tree | 654cdb1942f879ada145f851be499c25449fcc2b /pkgs/applications/misc | |
parent | bd0d1e836c92c197e384937cd906bdbdb058ffed (diff) |
Add the gtk2fontsel Font Viewer
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/gtk2fontsel/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/misc/gtk2fontsel/default.nix b/pkgs/applications/misc/gtk2fontsel/default.nix new file mode 100644 index 0000000000000..ea3f4b8f2b92b --- /dev/null +++ b/pkgs/applications/misc/gtk2fontsel/default.nix @@ -0,0 +1,28 @@ +{stdenv, fetchurl, pkgconfig, gtk }: + +stdenv.mkDerivation rec { + version = "0.1"; + name = "gtk2fontsel-${version}"; + + src = fetchurl { + url = "mirror://sourceforge/gtk2fontsel/${name}.tar.gz"; + sha256 = "0s2sj19n8ys92q9832hkn36ld91bb4qavicc6nygkry6qdpkkmjw"; + }; + + buildInputs = [ stdenv pkgconfig gtk ]; + + preferLocalBuild = true; + + meta = with stdenv.lib; { + description = "A font selection program for X11 using the GTK2 toolkit"; + longDescription = '' + Font selection tool similar to xfontsel implemented using GTK+ 2. + Trivial, but useful nonetheless. + ''; + homepage = http://gtk2fontsel.sourceforge.net/; + downloadPage = http://sourceforge.net/projects/gtk2fontsel/; + license = licenses.gpl2; + maintainers = [ maintainers.prikhi ]; + platforms = platforms.linux; + }; +} |