summary refs log tree commit diff
path: root/pkgs/applications/misc/xcruiser/default.nix
blob: 15202a1e90c62afe19be7fd60e25ed417924446d (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
24
25
26
27
28
29
30
{ stdenv, fetchurl, gccmakedep, xlibs }:

stdenv.mkDerivation {
  name = "xcruiser-0.30";

  src = fetchurl {
      url = mirror://sourceforge/xcruiser/xcruiser/xcruiser-0.30/xcruiser-0.30.tar.gz;
      sha256 = "1r8whva38xizqdh7jmn6wcmfmsndc67pkw22wzfzr6rq0vf6hywi";
    };

  buildInputs = with xlibs; [ gccmakedep imake libXt libXaw libXpm libXext ];

  configurePhase = "xmkmf -a";

  preBuild = ''
    makeFlagsArray=( BINDIR=$out/bin XAPPLOADDIR=$out/etc/X11/app-defaults)
  '';

  meta = with stdenv.lib;
    { description = "Filesystem visualization utility";
      longDescription = ''
        XCruiser, formerly known as XCruise, is a filesystem visualization utility.
        It constructs a virtually 3-D formed universe from a directory
        tree and allows you to "cruise" within a visualized filesystem.
      '';
      homepage = http://xcruiser.sourceforge.net/;
      license = licenses.gpl2;
      maintainers = with maintainers; [ emery ];
    };
}