2015-09-06 18:12:05 +02:00
|
|
|
{ pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info , intltool, pkgconfig, makeWrapper, ffmpegthumbnailer, jmtpfs, ifuse, lsof, udisks, hicolor_icon_theme, adwaita-icon-theme }:
|
2014-01-11 14:38:06 +01:00
|
|
|
|
2015-05-05 01:58:33 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2014-01-18 11:39:30 +01:00
|
|
|
name = "spacefm-${version}";
|
2015-05-05 01:58:33 +02:00
|
|
|
version = "1.0.1";
|
2014-01-11 14:38:06 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-05-05 01:58:33 +02:00
|
|
|
url = "https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz";
|
|
|
|
sha256 = "0mps6akwzr4mkljgywpimwgqf6ajnd7gq615877h20wyjf4h46vz";
|
2014-01-11 14:38:06 +01:00
|
|
|
};
|
|
|
|
|
2015-05-05 01:58:33 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--with-bash-path=${pkgs.bash}/bin/bash"
|
|
|
|
"--with-preferable-sudo=${pkgs.sudo}/bin/sudo"
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig makeWrapper ffmpegthumbnailer jmtpfs ifuse lsof udisks ];
|
2014-01-18 11:39:30 +01:00
|
|
|
|
2014-04-17 10:22:16 +02:00
|
|
|
preFixup = ''
|
2014-01-18 11:39:30 +01:00
|
|
|
wrapProgram "$out/bin/spacefm" \
|
2014-04-17 10:22:16 +02:00
|
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
2014-01-18 11:39:30 +01:00
|
|
|
'';
|
2014-01-11 14:38:06 +01:00
|
|
|
|
2015-05-05 01:58:33 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A multi-panel tabbed file manager";
|
|
|
|
longDescription = "Multi-panel tabbed file and desktop manager for Linux
|
|
|
|
with built-in VFS, udev- or HAL-based device manager,
|
|
|
|
customizable menu system, and bash integration
|
|
|
|
";
|
|
|
|
homepage = http://ignorantguru.github.io/spacefm/;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.jagajaga ];
|
2014-01-11 14:38:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|