2016-07-01 15:40:21 +00:00
|
|
|
{ pkgs, fetchFromGitHub, stdenv, gtk3, udev, desktop_file_utils
|
|
|
|
, shared_mime_info, intltool, pkgconfig, wrapGAppsHook, ffmpegthumbnailer
|
|
|
|
, jmtpfs, ifuse, lsof, udisks, hicolor_icon_theme, adwaita-icon-theme }:
|
2014-01-11 13:38:06 +00:00
|
|
|
|
2015-05-04 23:58:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-01-18 10:39:30 +00:00
|
|
|
name = "spacefm-${version}";
|
2016-03-29 13:15:21 +00:00
|
|
|
version = "1.0.5";
|
2014-01-11 13:38:06 +00:00
|
|
|
|
2015-11-21 16:50:32 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "IgnorantGuru";
|
|
|
|
repo = "spacefm";
|
|
|
|
rev = "${version}";
|
2016-03-29 13:15:21 +00:00
|
|
|
sha256 = "06askkrwls09d1x382zjrmnvcm0ghfgz4cms2qbhdkazfyy0ff65";
|
2014-01-11 13:38:06 +00:00
|
|
|
};
|
|
|
|
|
2015-05-04 23:58:33 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-bash-path=${pkgs.bash}/bin/bash"
|
|
|
|
];
|
|
|
|
|
2015-11-21 16:50:32 +00:00
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="$configureFlags --sysconfdir=$out/etc"
|
2014-01-18 10:39:30 +00:00
|
|
|
'';
|
2014-01-11 13:38:06 +00:00
|
|
|
|
2016-07-01 15:40:21 +00:00
|
|
|
postInstall = ''
|
|
|
|
rm -f $out/etc/spacefm/spacefm.conf
|
|
|
|
ln -s /etc/spacefm/spacefm.conf $out/etc/spacefm/spacefm.conf
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig
|
|
|
|
wrapGAppsHook ffmpegthumbnailer jmtpfs ifuse lsof udisks
|
|
|
|
];
|
2015-11-21 16:50:32 +00:00
|
|
|
|
2015-05-04 23:58:33 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A multi-panel tabbed file manager";
|
2015-11-21 16:50:32 +00:00
|
|
|
longDescription = ''
|
|
|
|
Multi-panel tabbed file and desktop manager for Linux
|
2015-05-04 23:58:33 +00:00
|
|
|
with built-in VFS, udev- or HAL-based device manager,
|
|
|
|
customizable menu system, and bash integration
|
2015-11-21 16:50:32 +00:00
|
|
|
'';
|
2015-05-04 23:58:33 +00:00
|
|
|
homepage = http://ignorantguru.github.io/spacefm/;
|
|
|
|
platforms = platforms.linux;
|
2016-07-01 15:40:21 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2015-11-21 16:50:32 +00:00
|
|
|
maintainers = with maintainers; [ jagajaga obadz ];
|
2014-01-11 13:38:06 +00:00
|
|
|
};
|
|
|
|
}
|