summary refs log tree commit diff
path: root/pkgs/applications/misc/xlsfonts/default.nix
blob: 7584ebf72fb120299c99e4da6a0ad0627692c48f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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.4";

  src = fetchurl {
    url = "mirror://xorg/individual/app/${name}.tar.bz2";
    sha256 = "1lhcx600z9v65nk93xaxfzi79bm4naynabb52gz1vy1bxj2r25r8";
  };

  buildInputs = [libX11 pkgconfig];

  meta = {
    homepage = http://www.x.org/;
    description = "Lists the fonts available in the X server";
    license = stdenv.lib.licenses.free;
    maintainers = with stdenv.lib.maintainers; [viric];
    platforms = with stdenv.lib.platforms; linux ++ darwin;
  };
}