2014-01-18 10:39:30 +00:00
|
|
|
{ pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info
|
|
|
|
, intltool, pkgconfig, makeWrapper
|
|
|
|
}:
|
2014-01-11 13:38:06 +00:00
|
|
|
|
|
|
|
let
|
2014-03-30 17:27:19 +01:00
|
|
|
version = "0.9.4";
|
2014-01-11 13:38:06 +00:00
|
|
|
|
2014-01-18 10:39:30 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "spacefm-${version}";
|
2014-01-11 13:38:06 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-01-18 10:39:30 +00:00
|
|
|
url = "https://github.com/IgnorantGuru/spacefm/blob/pkg/${version}/${name}.tar.xz?raw=true";
|
2014-03-30 17:27:19 +01:00
|
|
|
sha256 = "0marwa031jk24q8hy90dr7yw6rv5hn1shar404zpb1k57v4nr23m";
|
2014-01-11 13:38:06 +00:00
|
|
|
};
|
|
|
|
|
2014-01-18 10:39:30 +00:00
|
|
|
buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig makeWrapper ];
|
|
|
|
|
2014-04-17 09:22:16 +01:00
|
|
|
preFixup = ''
|
2014-01-18 10:39:30 +00:00
|
|
|
wrapProgram "$out/bin/spacefm" \
|
2014-04-17 09:22:16 +01:00
|
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
2014-01-18 10:39:30 +00:00
|
|
|
'';
|
2014-01-11 13:38:06 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-01-18 10:39:30 +00:00
|
|
|
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.";
|
2014-01-11 13:38:06 +00:00
|
|
|
platforms = pkgs.lib.platforms.linux;
|
|
|
|
license = pkgs.lib.licenses.gpl3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|