1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

pcmanfm-qt: 0.11.3 -> 0.12.0

This commit is contained in:
José Romildo Malaquias 2017-11-02 00:00:50 -02:00
parent 9258056a10
commit 6ccc34c2ad

View file

@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "pcmanfm-qt";
version = "0.11.3";
version = "0.12.0";
srcs = fetchFromGitHub {
src = fetchFromGitHub {
owner = "lxde";
repo = pname;
rev = version;
sha256 = "04vhfhjmz1a4rhkpb6y35hwg565047rp53rcxf4pdn0i9f6zhr4f";
sha256 = "050h5w1wph35l5m69qbxzvc96y7y0bg1m7flqdadrp688pbnzcxb";
};
nativeBuildInputs = [
@ -30,6 +30,13 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
postPatch = ''
for dir in autostart config; do
substituteInPlace $dir/CMakeLists.txt \
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
done
'';
meta = with stdenv.lib; {
description = "File manager and desktop icon manager (Qt port of PCManFM and libfm)";
homepage = https://github.com/lxde/pcmanfm-qt;