nixpkgs/pkgs/desktops/lxqt/libqtxdg/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
968 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, qtsvg
, lxqt-build-tools
, lxqtUpdateScript
}:
2016-10-04 00:43:06 +03:00
mkDerivation rec {
2019-02-06 02:13:21 +03:00
pname = "libqtxdg";
2022-05-14 17:18:33 +03:00
version = "3.9.1";
2016-10-04 00:43:06 +03:00
src = fetchFromGitHub {
owner = "lxqt";
2019-02-06 02:13:21 +03:00
repo = pname;
2016-10-04 00:43:06 +03:00
rev = version;
2022-05-14 17:18:33 +03:00
sha256 = "zrlaOiIsfbwjHFjqhYZ9lCo+oTsddICxl2UAum9Xoi4=";
2016-10-04 00:43:06 +03:00
};
nativeBuildInputs = [
cmake
lxqt-build-tools
];
2016-10-04 00:43:06 +03:00
buildInputs = [
qtbase
qtsvg
];
2016-10-04 00:43:06 +03:00
2017-11-02 04:50:28 +03:00
preConfigure = ''
cmakeFlagsArray+=(
2020-04-26 23:25:21 +03:00
"-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=$out/$qtPluginPrefix/iconengines"
"-DCMAKE_INSTALL_INCLUDEDIR=include"
"-DCMAKE_INSTALL_LIBDIR=lib"
)
2017-11-02 04:50:28 +03:00
'';
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
homepage = "https://github.com/lxqt/libqtxdg";
description = "Qt implementation of freedesktop.org xdg specs";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
2022-04-14 16:52:15 +03:00
maintainers = teams.lxqt.members;
2016-10-04 00:43:06 +03:00
};
}