nixpkgs/pkgs/desktops/lxqt/compton-conf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

57 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, cmake
, libconfig
, lxqt-build-tools
2021-01-17 02:21:50 +00:00
, pkg-config
, qtbase
, qttools
, qtx11extras
, wrapQtAppsHook
, gitUpdater
}:
2016-10-06 23:01:04 +01:00
stdenv.mkDerivation rec {
2016-10-06 23:01:04 +01:00
pname = "compton-conf";
2020-12-15 22:40:41 +00:00
version = "0.16.0";
2016-10-06 23:01:04 +01:00
2017-11-02 02:01:57 +00:00
src = fetchFromGitHub {
owner = "lxqt";
2016-10-06 23:01:04 +01:00
repo = pname;
rev = version;
hash = "sha256-GNS0GdkQOEFQHCeXFVNDdT35KCRhfwmkL78tpY71mz0=";
2016-10-06 23:01:04 +01:00
};
2017-02-19 11:13:36 +00:00
nativeBuildInputs = [
cmake
lxqt-build-tools
2021-01-17 02:21:50 +00:00
pkg-config
qttools
qtx11extras
wrapQtAppsHook
2017-02-19 11:13:36 +00:00
];
2016-10-06 23:01:04 +01:00
buildInputs = [
libconfig
qtbase
2016-10-06 23:01:04 +01:00
];
2017-11-02 02:01:57 +00:00
preConfigure = ''
substituteInPlace autostart/CMakeLists.txt \
--replace-fail "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" \
'';
2017-11-02 02:01:57 +00:00
passthru.updateScript = gitUpdater { };
meta = with lib; {
broken = stdenv.hostPlatform.isDarwin;
homepage = "https://github.com/lxqt/compton-conf";
description = "GUI configuration tool for compton X composite manager";
mainProgram = "compton-conf";
license = licenses.lgpl21Plus;
2016-10-06 23:01:04 +01:00
platforms = with platforms; unix;
2022-04-14 14:52:15 +01:00
maintainers = teams.lxqt.members;
2016-10-06 23:01:04 +01:00
};
}