spacefm: sudo and gksu fixes #15758 and license update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ 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 }:
|
||||
{ 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 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "spacefm-${version}";
|
||||
@@ -15,14 +15,21 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = [
|
||||
"--with-bash-path=${pkgs.bash}/bin/bash"
|
||||
"--with-preferable-sudo=${pkgs.sudo}/bin/sudo"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
configureFlags="$configureFlags --sysconfdir=$out/etc"
|
||||
'';
|
||||
|
||||
buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig wrapGAppsHook ffmpegthumbnailer jmtpfs ifuse lsof udisks ];
|
||||
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
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A multi-panel tabbed file manager";
|
||||
@@ -33,7 +40,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
homepage = http://ignorantguru.github.io/spacefm/;
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl3;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ jagajaga obadz ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user