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

34 lines
828 B
Nix
Raw Normal View History

2016-10-03 23:43:06 +02:00
{ stdenv, fetchFromGitHub, cmake, qt5 }:
stdenv.mkDerivation rec {
name = "libqtxdg-${version}";
2017-11-02 02:50:28 +01:00
version = "3.1.0";
2016-10-03 23:43:06 +02:00
src = fetchFromGitHub {
owner = "lxde";
repo = "libqtxdg";
rev = version;
2017-11-02 02:50:28 +01:00
sha256 = "03kdrx5sgrl93yband87n30i0k2mv6dknwdw2adz45j5z9rhd3z6";
2016-10-03 23:43:06 +02:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ qt5.qtbase qt5.qtsvg ];
2017-11-02 02:50:28 +01:00
preConfigure = ''
cmakeFlagsArray+=(
"-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=$out/$qtPluginPrefix"
"-DCMAKE_INSTALL_INCLUDEDIR=include"
"-DCMAKE_INSTALL_LIBDIR=lib"
)
2017-11-02 02:50:28 +01:00
'';
2016-10-03 23:43:06 +02:00
meta = with stdenv.lib; {
description = "Qt implementation of freedesktop.org xdg specs";
homepage = https://github.com/lxde/libqtxdg;
license = licenses.lgpl21;
platforms = with platforms; unix;
2017-11-02 02:50:28 +01:00
maintainers = with maintainers; [ romildo ];
2016-10-03 23:43:06 +02:00
};
}