mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
591f129c6d
Updated the GPL and LGPL licenses.
50 lines
989 B
Nix
50 lines
989 B
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, qtbase
|
|
, qttools
|
|
, lxqt
|
|
, libconfig
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "compton-conf";
|
|
version = "0.16.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0gcvyn7aabdz5yj0jzv14hlgjgbm8d9ib5r73i842f0hv4cv9m0q";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
lxqt.lxqt-build-tools
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qttools
|
|
libconfig
|
|
];
|
|
|
|
preConfigure = ''
|
|
substituteInPlace autostart/CMakeLists.txt \
|
|
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" \
|
|
'';
|
|
|
|
passthru.updateScript = lxqt.lxqtUpdateScript { inherit pname version src; };
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/lxqt/compton-conf";
|
|
description = "GUI configuration tool for compton X composite manager";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = with platforms; unix;
|
|
maintainers = with maintainers; [ romildo ];
|
|
};
|
|
}
|