2019-02-05 23:14:14 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools }:
|
2017-11-02 02:12:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lxqt-themes";
|
2019-02-05 23:14:14 +00:00
|
|
|
version = "0.14.0";
|
2017-11-02 02:12:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-05-22 02:24:38 +01:00
|
|
|
owner = "lxqt";
|
2017-11-02 02:12:29 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-02-05 23:14:14 +00:00
|
|
|
sha256 = "09dkcgnf3lmfly8v90p6wjlj5rin83pbailvvpx2jr8a48a8zb9f";
|
2017-11-02 02:12:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2019-02-05 23:14:14 +00:00
|
|
|
lxqt-build-tools
|
2017-11-02 02:12:29 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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";
|
2018-05-22 02:24:38 +01:00
|
|
|
homepage = https://github.com/lxqt/lxqt-themes;
|
2017-11-02 02:12:29 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|