Commit 9312d784 authored by Felix Buehler's avatar Felix Buehler Committed by Emery Hemingway
Browse files

xcruiser: add desktop item

parent 9f45a480
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, gccmakedep, imake, libXt, libXaw, libXpm, libXext }:
{ lib, stdenv, fetchurl, gccmakedep, imake, libXt, libXaw, libXpm, libXext, copyDesktopItems, makeDesktopItem }:

stdenv.mkDerivation rec {
  pname = "xcruiser";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
    sha256 = "1r8whva38xizqdh7jmn6wcmfmsndc67pkw22wzfzr6rq0vf6hywi";
  };

  nativeBuildInputs = [ gccmakedep imake ];
  nativeBuildInputs = [ gccmakedep imake copyDesktopItems ];
  buildInputs = [ libXt libXaw libXpm libXext ];

  makeFlags = [
@@ -19,6 +19,16 @@ stdenv.mkDerivation rec {
    "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 = ''