summary refs log tree commit diff
path: root/pkgs/applications/misc/xlsfonts/default.nix
blob: 8fe930ce9a506202ec8406bc3d2806c8e509c466 (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.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;
  };
}