1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/applications/misc/spacefm/default.nix
Vladimír Čunát dd3192f5ee Revert "spaceFM: update from 0.9.2 to 0.9.4" (fixes #3916)
This reverts commit c53ae9b462.
It's just a temporary work-around until someone finds a real fix.
2014-09-08 18:28:14 +02:00

31 lines
897 B
Nix

{ pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info
, intltool, pkgconfig, makeWrapper
}:
let
version = "0.9.2";
in stdenv.mkDerivation rec {
name = "spacefm-${version}";
src = fetchurl {
url = "https://github.com/IgnorantGuru/spacefm/blob/pkg/${version}/${name}.tar.xz?raw=true";
sha256 = "3767137d74aa78597ffb42a6121784e91a4276efcd5d718b3793b9790f82268c";
};
buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig makeWrapper ];
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;
};
}