about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/file-managers/xfe/default.nix
blob: ffad141bdafaf71c3162a94abc64d401f340e14f (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{ lib
, stdenv
, fetchurl
, fox
, fontconfig
, freetype
, pkg-config
, gettext
, xcbutil
, gcc
, intltool
, file
, libpng
, xorg
}:

stdenv.mkDerivation rec {
  pname = "xfe";
  version = "1.46";

  src = fetchurl {
    url = "mirror://sourceforge/xfe/xfe-${version}.tar.xz";
    sha256 = "sha256-80rtoetmipDObW8BHL2US7305Jo5TFrQrIg6DzLoR/k=";
  };

  nativeBuildInputs = [ pkg-config intltool ];
  buildInputs = [
    fox
    gettext
    xcbutil
    gcc
    file
    libpng
    fontconfig
    freetype
    xorg.libX11
    xorg.libXft
  ];

  preConfigure = ''
    sed -i s,/usr/share/xfe,$out/share/xfe, src/xfedefs.h
  '';

  enableParallelBuilding = true;

  meta = with lib; {
    description = "MS-Explorer like file manager for X";
    longDescription = ''
      X File Explorer (Xfe) is an MS-Explorer like file manager for X.
      It is based on the popular, but discontinued, X Win Commander, which was developed by Maxim Baranov.
      Xfe aims to be the filemanager of choice for all the Unix addicts!
    '';
    homepage = "https://sourceforge.net/projects/xfe/";
    license = licenses.gpl2;
    maintainers = with maintainers; [ ];
    platforms = platforms.linux;
  };
}