nixpkgs/pkgs/desktops/lxqt/core/pcmanfm-qt/default.nix
R. RyanTM 8f73921ad8 lxqt.pcmanfm-qt: 0.12.0 -> 0.13.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/pcmanfm-qt/versions.

Version release notes (from GitHub):

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/bk3zw1jxkfyyl07iy97ag6vsq6vgqk9i-pcmanfm-qt-0.13.0/bin/pcmanfm-qt had a zero exit code or showed the expected version
- 0 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 0.13.0 with grep in /nix/store/bk3zw1jxkfyyl07iy97ag6vsq6vgqk9i-pcmanfm-qt-0.13.0
- directory tree listing: https://gist.github.com/960359b159f85d99f590576d9d63b63f
- du listing: https://gist.github.com/e90b52e16cdb6fdfa96bca76047129b4
2018-07-03 20:33:09 -07:00

47 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, lxqt, libfm, menu-cache, lxmenu-data }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "pcmanfm-qt";
version = "0.13.0";
src = fetchFromGitHub {
owner = "lxde";
repo = pname;
rev = version;
sha256 = "0xnhdxx45fmbi5dqic3j2f7yq01s0xysimafj5zqs0a29zw3i4m0";
};
nativeBuildInputs = [
cmake
pkgconfig
lxqt.lxqt-build-tools
];
buildInputs = [
qt5.qtbase
qt5.qttools
qt5.qtx11extras
lxqt.libfm-qt
libfm
menu-cache
lxmenu-data
];
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;
license = licenses.gpl2;
platforms = with platforms; unix;
maintainers = with maintainers; [ romildo ];
};
}