spacefm: fix schema-crash (in preferences), nitpicks
I also did some style changes to be closer to most in nixpkgs.
This commit is contained in:
parent
d37aec1ac4
commit
83a2e8554b
@ -1,21 +1,27 @@
|
|||||||
{ pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info, intltool, pkgconfig }:
|
{ pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info
|
||||||
|
, intltool, pkgconfig, makeWrapper
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
name = "spacefm-${version}";
|
|
||||||
version = "0.9.2";
|
version = "0.9.2";
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation rec {
|
||||||
inherit name;
|
name = "spacefm-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url="https://github.com/IgnorantGuru/spacefm/blob/pkg/${version}/${name}.tar.xz?raw=true";
|
url = "https://github.com/IgnorantGuru/spacefm/blob/pkg/${version}/${name}.tar.xz?raw=true";
|
||||||
sha256 ="3767137d74aa78597ffb42a6121784e91a4276efcd5d718b3793b9790f82268c";
|
sha256 = "3767137d74aa78597ffb42a6121784e91a4276efcd5d718b3793b9790f82268c";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig ];
|
buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig makeWrapper ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram "$out/bin/spacefm" \
|
||||||
|
--prefix XDG_DATA_DIRS : "${gtk3}/share"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "SpaceFM is a 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.";
|
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;
|
platforms = pkgs.lib.platforms.linux;
|
||||||
license = pkgs.lib.licenses.gpl3;
|
license = pkgs.lib.licenses.gpl3;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user