nixpkgs/pkgs/desktops/lxqt/core/lxqt-themes/default.nix
R. RyanTM 6ac2ab2f32 lxqt.lxqt-themes: 0.12.0 -> 0.13.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/lxqt-themes/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 0.13.0 with grep in /nix/store/fs36lbzyd10wzif3mk70hwjqwin8bv7f-lxqt-themes-0.13.0
- directory tree listing: https://gist.github.com/ba1226aef8f1c4dfc1ae26d7a55031f3
- du listing: https://gist.github.com/99abafab17751529577df2cd7d2a12d9
2018-06-23 20:54:14 -07:00

34 lines
916 B
Nix

{ stdenv, fetchFromGitHub, cmake, lxqt }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-themes";
version = "0.13.0";
src = fetchFromGitHub {
owner = "lxde";
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/lxde/lxqt-themes;
license = licenses.lgpl21;
platforms = with platforms; unix;
maintainers = with maintainers; [ romildo ];
};
}