3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/xcruiser/default.nix
Sergei Trofimovich bace74bbf8 xcruiser: explicitly set LIBDIR and CONFDIR
In preparation to fix long-standing `imake` bug #135337 we need
to set `LIBDIR` and `CONFDIR` away from incorrectly embedded
`xorg-cf-files`. Before #135337 the package worked by chance.

Issue: https://github.com/NixOS/nixpkgs/issues/135337
2021-09-06 07:46:13 +01:00

34 lines
1.1 KiB
Nix

{ lib, stdenv, fetchurl, gccmakedep, imake, libXt, libXaw, libXpm, libXext }:
stdenv.mkDerivation {
name = "xcruiser-0.30";
src = fetchurl {
url = "mirror://sourceforge/xcruiser/xcruiser/xcruiser-0.30/xcruiser-0.30.tar.gz";
sha256 = "1r8whva38xizqdh7jmn6wcmfmsndc67pkw22wzfzr6rq0vf6hywi";
};
nativeBuildInputs = [ gccmakedep imake ];
buildInputs = [ libXt libXaw libXpm libXext ];
makeFlags = [
"BINDIR=${placeholder "out"}/bin"
"CONFDIR=${placeholder "out"}/etc/X11"
"LIBDIR=${placeholder "out"}/lib/X11"
"XAPPLOADDIR=${placeholder "out"}/etc/X11/app-defaults"
];
meta = with 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; [ ehmry ];
platforms = with platforms; linux;
};
}