nixpkgs-suyu/pkgs/applications/misc/spacefm/default.nix

40 lines
1.3 KiB
Nix
Raw Normal View History

2015-11-21 17:50:32 +01: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 14:38:06 +01:00
2015-05-05 01:58:33 +02:00
stdenv.mkDerivation rec {
name = "spacefm-${version}";
2015-11-21 17:50:32 +01:00
version = "1.0.4";
2014-01-11 14:38:06 +01:00
2015-11-21 17:50:32 +01:00
src = fetchFromGitHub {
owner = "IgnorantGuru";
repo = "spacefm";
rev = "${version}";
sha256 = "1jywsb5yjrq4w9m94m4mbww36npd1jk6s0b59liz6965hv3xp2sy";
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"
];
2015-11-21 17:50:32 +01:00
preConfigure = ''
configureFlags="$configureFlags --sysconfdir=$out/etc"
'';
2014-01-11 14:38:06 +01:00
2015-11-21 17:50:32 +01:00
buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig wrapGAppsHook ffmpegthumbnailer jmtpfs ifuse lsof udisks ];
2015-05-05 01:58:33 +02:00
meta = with stdenv.lib; {
description = "A multi-panel tabbed file manager";
2015-11-21 17:50:32 +01:00
longDescription = ''
Multi-panel tabbed file and desktop manager for Linux
2015-05-05 01:58:33 +02:00
with built-in VFS, udev- or HAL-based device manager,
customizable menu system, and bash integration
2015-11-21 17:50:32 +01:00
'';
2015-05-05 01:58:33 +02:00
homepage = http://ignorantguru.github.io/spacefm/;
platforms = platforms.linux;
license = licenses.gpl3;
2015-11-21 17:50:32 +01:00
maintainers = with maintainers; [ jagajaga obadz ];
2014-01-11 14:38:06 +01:00
};
}