2024-02-07 01:22:34 +00:00
|
|
|
{ lib, stdenv, fetchurl, gccmakedep, imake, libXt, libXaw, libXpm, libXext, copyDesktopItems, makeDesktopItem }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xcruiser";
|
|
|
|
version = "0.30";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "mirror://sourceforge/xcruiser/xcruiser/xcruiser-${version}/xcruiser-${version}.tar.gz";
|
|
|
|
sha256 = "1r8whva38xizqdh7jmn6wcmfmsndc67pkw22wzfzr6rq0vf6hywi";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
nativeBuildInputs = [ gccmakedep imake copyDesktopItems ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libXt libXaw libXpm libXext ];
|
|
|
|
|
|
|
|
makeFlags = [
|
2021-09-18 10:52:07 +00:00
|
|
|
"BINDIR=${placeholder "out"}/bin"
|
|
|
|
"CONFDIR=${placeholder "out"}/etc/X11"
|
|
|
|
"LIBDIR=${placeholder "out"}/lib/X11"
|
|
|
|
"XAPPLOADDIR=${placeholder "out"}/etc/X11/app-defaults"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
desktopItems = [
|
|
|
|
(makeDesktopItem {
|
|
|
|
name = "XCruiser";
|
|
|
|
exec = "xcruiser";
|
|
|
|
desktopName = "XCruiser";
|
|
|
|
comment = "filesystem visualization utility";
|
|
|
|
categories = [ "Utility" ];
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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.
|
|
|
|
'';
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://xcruiser.sourceforge.net/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ ehmry ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|