nixpkgs/pkgs/desktops/lxqt/lxqt-themes/default.nix

34 lines
891 B
Nix
Raw Normal View History

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 {
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";
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 ];
};
}