diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-12-24 14:59:57 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-12-24 14:59:57 +0000 |
commit | 1d70efa3c8aa698bb0076952b7cc23f5cabdf578 (patch) | |
tree | b122303a827c5ca6270b74b64ee6e9aa4442e051 /pkgs/applications/misc | |
parent | 4354cf8a6b67f6d6e0f09bd3f054b6416f1d0cf9 (diff) |
Adding xlsfonts, and adding meta information to xfontsel.
svn path=/nixpkgs/trunk/; revision=19094
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/xfontsel/default.nix | 9 | ||||
-rw-r--r-- | pkgs/applications/misc/xlsfonts/default.nix | 23 |
2 files changed, 31 insertions, 1 deletions
diff --git a/pkgs/applications/misc/xfontsel/default.nix b/pkgs/applications/misc/xfontsel/default.nix index 7b8f4ae914b2..9e920c597099 100644 --- a/pkgs/applications/misc/xfontsel/default.nix +++ b/pkgs/applications/misc/xfontsel/default.nix @@ -19,5 +19,12 @@ stdenv.mkDerivation rec { preInstall = '' installFlags="appdefaultdir=$out/share/X11/app-defaults" ''; -} + meta = { + homepage = http://www.x.org/; + description = "Allows testing the fonts available in an X server"; + licesnse = "free"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + } +} diff --git a/pkgs/applications/misc/xlsfonts/default.nix b/pkgs/applications/misc/xlsfonts/default.nix new file mode 100644 index 000000000000..a63f8a72712e --- /dev/null +++ b/pkgs/applications/misc/xlsfonts/default.nix @@ -0,0 +1,23 @@ +# This program used to come with xorg releases, but now I could only find it +# at http://www.x.org/releases/individual/. +# That is why this expression is not inside pkgs.xorg + +{stdenv, fetchurl, libX11, pkgconfig}: +stdenv.mkDerivation rec { + name = "xlsfonts-1.0.2"; + + src = fetchurl { + url = "http://www.x.org/releases/individual/app/${name}.tar.bz2"; + sha256 = "070iym754g3mf9x6xczl4gdnpvlk6rdyl1ndwhpjl21vg2dm2vnc"; + }; + + buildInputs = [libX11 pkgconfig]; + + meta = { + homepage = http://www.x.org/; + description = "Lists the fonts available in the X server"; + licesnse = "free"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + } +} |