1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/desktops/lxqt/lxqt-themes/default.nix

34 lines
891 B
Nix
Raw Normal View History

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