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

31 lines
890 B
Nix
Raw Normal View History

{ pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info
, intltool, pkgconfig, makeWrapper
}:
2014-01-11 14:38:06 +01:00
let
version = "0.9.2";
in stdenv.mkDerivation rec {
name = "spacefm-${version}";
2014-01-11 14:38:06 +01:00
src = fetchurl {
url = "https://github.com/IgnorantGuru/spacefm/blob/pkg/${version}/${name}.tar.xz?raw=true";
sha256 = "3767137d74aa78597ffb42a6121784e91a4276efcd5d718b3793b9790f82268c";
2014-01-11 14:38:06 +01:00
};
buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/spacefm" \
--prefix XDG_DATA_DIRS : "${gtk3}/share"
'';
2014-01-11 14:38:06 +01:00
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.";
2014-01-11 14:38:06 +01:00
platforms = pkgs.lib.platforms.linux;
license = pkgs.lib.licenses.gpl3;
};
}