Files
nixpkgs/pkgs/by-name/xc/xcruiser/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

66 lines
1.4 KiB
Nix

{
lib,
stdenv,
fetchurl,
gccmakedep,
imake,
libXt,
libXaw,
libXpm,
libXext,
copyDesktopItems,
makeDesktopItem,
}:
stdenv.mkDerivation rec {
pname = "xcruiser";
version = "0.30";
src = fetchurl {
url = "mirror://sourceforge/xcruiser/xcruiser/xcruiser-${version}/xcruiser-${version}.tar.gz";
sha256 = "1r8whva38xizqdh7jmn6wcmfmsndc67pkw22wzfzr6rq0vf6hywi";
};
nativeBuildInputs = [
gccmakedep
imake
copyDesktopItems
];
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"
];
desktopItems = [
(makeDesktopItem {
name = "XCruiser";
exec = "xcruiser";
desktopName = "XCruiser";
comment = "filesystem visualization utility";
categories = [ "Utility" ];
})
];
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 = "https://xcruiser.sourceforge.net/";
license = licenses.gpl2;
platforms = with platforms; linux;
mainProgram = "xcruiser";
};
}