forked from mirrors/nixpkgs
e34de045b6
LXQt uses the values in this macro to set installation directories and in the case of lxqt-session to substitute in paths. However, by doing this all the paths are from within lxqt-build-tools prefix. By utilizing a setup hook we can set the directories with the correct prefix as cmake flags.
27 lines
607 B
Nix
27 lines
607 B
Nix
{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools }:
|
|
|
|
mkDerivation rec {
|
|
pname = "lxqt-themes";
|
|
version = "0.14.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "09dkcgnf3lmfly8v90p6wjlj5rin83pbailvvpx2jr8a48a8zb9f";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
lxqt-build-tools
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Themes, graphics and icons for LXQt";
|
|
homepage = https://github.com/lxqt/lxqt-themes;
|
|
license = licenses.lgpl21;
|
|
platforms = with platforms; unix;
|
|
maintainers = with maintainers; [ romildo ];
|
|
};
|
|
}
|