lol
at v192 36 lines 1.3 kB view raw
1{ 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 }: 2 3stdenv.mkDerivation rec { 4 name = "spacefm-${version}"; 5 version = "1.0.1"; 6 7 src = fetchurl { 8 url = "https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"; 9 sha256 = "0mps6akwzr4mkljgywpimwgqf6ajnd7gq615877h20wyjf4h46vz"; 10 }; 11 12 configureFlags = [ 13 "--with-bash-path=${pkgs.bash}/bin/bash" 14 "--with-preferable-sudo=${pkgs.sudo}/bin/sudo" 15 ]; 16 17 buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig makeWrapper ffmpegthumbnailer jmtpfs ifuse lsof udisks ]; 18 19 preFixup = '' 20 wrapProgram "$out/bin/spacefm" \ 21 --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" 22 ''; 23 24 meta = with stdenv.lib; { 25 description = "A multi-panel tabbed file manager"; 26 longDescription = "Multi-panel tabbed file and desktop manager for Linux 27 with built-in VFS, udev- or HAL-based device manager, 28 customizable menu system, and bash integration 29 "; 30 homepage = http://ignorantguru.github.io/spacefm/; 31 platforms = platforms.linux; 32 license = licenses.gpl3; 33 maintainers = [ maintainers.jagajaga ]; 34 }; 35 36}