summary refs log tree commit diff
path: root/pkgs/applications/misc/spacefm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/spacefm/default.nix')
-rw-r--r--pkgs/applications/misc/spacefm/default.nix36
1 files changed, 21 insertions, 15 deletions
diff --git a/pkgs/applications/misc/spacefm/default.nix b/pkgs/applications/misc/spacefm/default.nix
index b88e4c567cc1..ea7663c24069 100644
--- a/pkgs/applications/misc/spacefm/default.nix
+++ b/pkgs/applications/misc/spacefm/default.nix
@@ -1,30 +1,36 @@
-{ pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info
-, intltool, pkgconfig, makeWrapper
-}:
+{ pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info , intltool, pkgconfig, makeWrapper, ffmpegthumbnailer, jmtpfs, ifuse, lsof, udisks }:
 
-let
-  version = "0.9.2";
-
-in stdenv.mkDerivation rec {
+stdenv.mkDerivation rec {
   name = "spacefm-${version}";
+  version = "1.0.1";
 
   src = fetchurl {
-    url = "https://github.com/IgnorantGuru/spacefm/blob/pkg/${version}/${name}.tar.xz?raw=true";
-    sha256 = "3767137d74aa78597ffb42a6121784e91a4276efcd5d718b3793b9790f82268c";
+    url = "https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz";
+    sha256 = "0mps6akwzr4mkljgywpimwgqf6ajnd7gq615877h20wyjf4h46vz";
   };
 
-  buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig makeWrapper ];
+  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 ];
 
   preFixup = ''
     wrapProgram "$out/bin/spacefm" \
       --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
   '';
 
-  meta = {
-    description = "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";
-    platforms = pkgs.lib.platforms.linux;
-    license = pkgs.lib.licenses.gpl3;
+  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 ];
   };
 
 }
-