mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
lxqt.compton-conf: use mkDerivation from stdenv
This commit is contained in:
parent
da0157afde
commit
550334fd8a
@ -1,17 +1,18 @@
|
|||||||
{ stdenv
|
{ lib
|
||||||
, lib
|
, stdenv
|
||||||
, mkDerivation
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
|
, libconfig
|
||||||
|
, lxqt-build-tools
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, qtbase
|
, qtbase
|
||||||
, qttools
|
, qttools
|
||||||
, lxqt
|
, qtx11extras
|
||||||
, libconfig
|
, wrapQtAppsHook
|
||||||
, gitUpdater
|
, gitUpdater
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "compton-conf";
|
pname = "compton-conf";
|
||||||
version = "0.16.0";
|
version = "0.16.0";
|
||||||
|
|
||||||
@ -24,19 +25,21 @@ mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
|
lxqt-build-tools
|
||||||
pkg-config
|
pkg-config
|
||||||
lxqt.lxqt-build-tools
|
|
||||||
qttools
|
qttools
|
||||||
|
qtx11extras
|
||||||
|
wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase
|
|
||||||
libconfig
|
libconfig
|
||||||
|
qtbase
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace autostart/CMakeLists.txt \
|
substituteInPlace autostart/CMakeLists.txt \
|
||||||
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" \
|
--replace-fail "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" \
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = gitUpdater { };
|
passthru.updateScript = gitUpdater { };
|
||||||
|
Loading…
Reference in New Issue
Block a user