compton-conf: 0.2.1 -> 0.3.0

This commit is contained in:
José Romildo Malaquias 2017-11-02 00:01:57 -02:00
parent 3eeed44419
commit 6556e696ff

View file

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
pname = "compton-conf"; pname = "compton-conf";
version = "0.2.1"; version = "0.3.0";
srcs = fetchFromGitHub { src = fetchFromGitHub {
owner = "lxde"; owner = "lxde";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1hmirhsz010h6a6k7my1krh5nw5ds4x00c5fq6apamrdd8d4zrmq"; sha256 = "1p1y7g5psczx1dgh6gd1h5iga8rylvczkwlfirzrh0rfl45dajgb";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -26,6 +26,11 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
preConfigure = ''
substituteInPlace autostart/CMakeLists.txt \
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" \
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "GUI configuration tool for compton X composite manager"; description = "GUI configuration tool for compton X composite manager";
homepage = https://github.com/lxde/compton-conf; homepage = https://github.com/lxde/compton-conf;