2017-11-02 02:12:29 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, lxqt }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "lxqt-themes";
|
2018-06-24 04:54:14 +01:00
|
|
|
version = "0.13.0";
|
2017-11-02 02:12:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxde";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2018-06-24 04:54:14 +01:00
|
|
|
sha256 = "026hbblxdbq48n9691b1z1xiak99khsk3wf09vn4iaj5zi7dwhw5";
|
2017-11-02 02:12:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
lxqt.lxqt-build-tools
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace CMakeLists.txt \
|
|
|
|
--replace "DESTINATION \"\''${LXQT_GRAPHICS_DIR}" "DESTINATION \"share/lxqt/graphics"
|
|
|
|
substituteInPlace themes/CMakeLists.txt \
|
|
|
|
--replace "DESTINATION \"\''${LXQT_SHARE_DIR}" "DESTINATION \"share/lxqt"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Themes, graphics and icons for LXQt";
|
|
|
|
homepage = https://github.com/lxde/lxqt-themes;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|