about summary refs log tree commit diff
path: root/pkgs/applications/file-managers
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-06-26 23:36:01 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-06-26 23:58:14 -0300
commit20acab1b9b83bd534b5a311fbb1136b7f737fc47 (patch)
tree5ded9e167d7b125e3a1686325d19e8d044fd6c8c /pkgs/applications/file-managers
parent81f5320646b8f5a1d16649a835886281e29165e7 (diff)
xfe: move to applications/file-managers
Diffstat (limited to 'pkgs/applications/file-managers')
-rw-r--r--pkgs/applications/file-managers/xfe/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/file-managers/xfe/default.nix b/pkgs/applications/file-managers/xfe/default.nix
new file mode 100644
index 0000000000000..d59b936608c84
--- /dev/null
+++ b/pkgs/applications/file-managers/xfe/default.nix
@@ -0,0 +1,33 @@
+{ lib, stdenv, fetchurl, fox, pkg-config, gettext, xlibsWrapper, gcc, intltool, file, libpng }:
+
+stdenv.mkDerivation rec {
+  pname = "xfe";
+  version = "1.42";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/xfe/xfe-${version}.tar.gz";
+    sha256 = "1v1v0vcbnm30kpyd3rj8f56yh7lfnwy7nbs9785wi229b29fiqx1";
+  };
+
+  nativeBuildInputs = [ pkg-config ];
+  buildInputs = [ fox gettext xlibsWrapper gcc intltool file libpng ];
+
+  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;
+  };
+}