2017-02-25 15:44:29 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, lxqt, libconfig }:
|
2016-10-06 22:01:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "compton-conf";
|
2017-02-19 11:13:36 +00:00
|
|
|
version = "0.2.1";
|
2016-10-06 22:01:04 +00:00
|
|
|
|
|
|
|
srcs = fetchFromGitHub {
|
|
|
|
owner = "lxde";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2017-02-19 11:13:36 +00:00
|
|
|
sha256 = "1hmirhsz010h6a6k7my1krh5nw5ds4x00c5fq6apamrdd8d4zrmq";
|
2016-10-06 22:01:04 +00:00
|
|
|
};
|
|
|
|
|
2017-02-19 11:13:36 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
|
|
|
lxqt.lxqt-build-tools
|
|
|
|
];
|
2016-10-06 22:01:04 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2017-02-25 15:44:29 +00:00
|
|
|
qtbase
|
|
|
|
qttools
|
2016-10-06 22:01:04 +00:00
|
|
|
libconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GUI configuration tool for compton X composite manager";
|
|
|
|
homepage = https://github.com/lxde/compton-conf;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = with platforms; unix;
|
2017-02-19 11:13:36 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-06 22:01:04 +00:00
|
|
|
};
|
|
|
|
}
|