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
935 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, qtsvg
, lxqt-build-tools
, gitUpdater
}:
2016-10-04 00:43:06 +03:00
mkDerivation rec {
2019-02-06 02:13:21 +03:00
pname = "libqtxdg";
2023-11-05 23:23:49 +03:00
version = "3.12.0";
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;
2023-11-05 23:23:49 +03:00
hash = "sha256-y+3noaHubZnwUUs8vbMVvZPk+6Fhv37QXUb//reedCU=";
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 = gitUpdater { };
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
};
}