1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/desktops/lxqt/libqtxdg/default.nix
José Romildo Malaquias def579b42b liblxqt: 0.13.0 -> 0.14.0
2019-02-12 09:03:50 -02:00

34 lines
815 B
Nix

{ stdenv, fetchFromGitHub, cmake, qtbase, qtsvg }:
stdenv.mkDerivation rec {
pname = "libqtxdg";
version = "3.3.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "0qgqqgy15h0d1fwk4mnbv2hirz8njjjlng64bv33rc6wwrsaa50b";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase qtsvg ];
preConfigure = ''
cmakeFlagsArray+=(
"-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=$out/$qtPluginPrefix"
"-DCMAKE_INSTALL_INCLUDEDIR=include"
"-DCMAKE_INSTALL_LIBDIR=lib"
)
'';
meta = with stdenv.lib; {
description = "Qt implementation of freedesktop.org xdg specs";
homepage = https://github.com/lxqt/libqtxdg;
license = licenses.lgpl21;
platforms = with platforms; unix;
maintainers = with maintainers; [ romildo ];
};
}