diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2018-09-10 18:00:14 -0300 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-10 23:00:14 +0200 |
commit | 2047e28c7fe94a8541f19ac2c57cf4866a318c57 (patch) | |
tree | 5a4d8bd21ef7194b566e62807bc51b6b2ff25241 /pkgs/desktops/lxqt/lxqt-themes | |
parent | f0839455e9637b4baeb34c245cfabb691a239481 (diff) |
lxqt: mv contents of base, core and optional to parent directory (#46484)
Diffstat (limited to 'pkgs/desktops/lxqt/lxqt-themes')
-rw-r--r-- | pkgs/desktops/lxqt/lxqt-themes/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/desktops/lxqt/lxqt-themes/default.nix b/pkgs/desktops/lxqt/lxqt-themes/default.nix new file mode 100644 index 0000000000000..1d2301d4a3bf9 --- /dev/null +++ b/pkgs/desktops/lxqt/lxqt-themes/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub, cmake, lxqt }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "lxqt-themes"; + version = "0.13.0"; + + src = fetchFromGitHub { + owner = "lxqt"; + repo = pname; + rev = version; + sha256 = "026hbblxdbq48n9691b1z1xiak99khsk3wf09vn4iaj5zi7dwhw5"; + }; + + 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/lxqt/lxqt-themes; + license = licenses.lgpl21; + platforms = with platforms; unix; + maintainers = with maintainers; [ romildo ]; + }; +} |