nixpkgs/pkgs/applications/misc/xfe/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

33 lines
1 KiB
Nix

{ stdenv, fetchurl, fox, pkgconfig, gettext, xlibsWrapper, gcc, intltool, file, libpng }:
stdenv.mkDerivation rec {
name = "xfe-1.37";
src = fetchurl {
url = "mirror://sourceforge/xfe/${name}.tar.gz";
sha256 = "1g9a0bpny2m7ixgxpqjh0wvh2x6d0lpj6682zn5dfqwan4j2xfsd";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ fox gettext xlibsWrapper gcc intltool file libpng ];
preConfigure = ''
sed -i s,/usr/share/xfe,$out/share/xfe, src/xfedefs.h
'';
enableParallelBuilding = true;
meta = {
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 = http://sourceforge.net/projects/xfe/;
license = stdenv.lib.licenses.gpl2;
maintainers = [];
platforms = stdenv.lib.platforms.linux;
};
}