diff options
author | lethalman <lucabru@src.gnome.org> | 2014-12-19 10:44:07 +0100 |
---|---|---|
committer | lethalman <lucabru@src.gnome.org> | 2014-12-19 10:44:07 +0100 |
commit | bff11526f121c3aa66e8c69434f0d361695540fb (patch) | |
tree | 04318c98fdf6a40ef99bc1f4c171a7ef3d631ecd | |
parent | b5c379d26afe193e13bde86a82eec5047297848b (diff) | |
parent | 292eb57af8d49a953bdb71a703faa59d196caa41 (diff) |
Merge pull request #5325 from prikhi/add-gtk2fontsel
Add the gtk2fontsel Font Viewer
-rw-r--r-- | pkgs/applications/misc/gtk2fontsel/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/misc/gtk2fontsel/default.nix b/pkgs/applications/misc/gtk2fontsel/default.nix new file mode 100644 index 000000000000..ea3f4b8f2b92 --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6ced6c34bc57..1c0417e98fed 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9911,6 +9911,10 @@ let gpsd = callPackage ../servers/gpsd { }; + gtk2fontsel = callPackage ../applications/misc/gtk2fontsel { + inherit (gnome2) gtk; + }; + guitone = callPackage ../applications/version-management/guitone { graphviz = graphviz_2_32; }; |