mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #5325 from prikhi/add-gtk2fontsel
Add the gtk2fontsel Font Viewer
This commit is contained in:
commit
bff11526f1
2 changed files with 32 additions and 0 deletions
28
pkgs/applications/misc/gtk2fontsel/default.nix
Normal file
28
pkgs/applications/misc/gtk2fontsel/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue