diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2018-09-10 18:00:14 -0300 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-10 23:00:14 +0200 |
commit | 2047e28c7fe94a8541f19ac2c57cf4866a318c57 (patch) | |
tree | 5a4d8bd21ef7194b566e62807bc51b6b2ff25241 /pkgs/desktops/lxqt/lxqt-policykit/default.nix | |
parent | f0839455e9637b4baeb34c245cfabb691a239481 (diff) |
lxqt: mv contents of base, core and optional to parent directory (#46484)
Diffstat (limited to 'pkgs/desktops/lxqt/lxqt-policykit/default.nix')
-rw-r--r-- | pkgs/desktops/lxqt/lxqt-policykit/default.nix | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/pkgs/desktops/lxqt/lxqt-policykit/default.nix b/pkgs/desktops/lxqt/lxqt-policykit/default.nix new file mode 100644 index 0000000000000..dcf46d09b7321 --- /dev/null +++ b/pkgs/desktops/lxqt/lxqt-policykit/default.nix @@ -0,0 +1,51 @@ +{ + stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, + qtbase, qttools, qtx11extras, qtsvg, polkit-qt, kwindowsystem, liblxqt, + libqtxdg, pcre +}: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "lxqt-policykit"; + version = "0.13.0"; + + src = fetchFromGitHub { + owner = "lxqt"; + repo = pname; + rev = version; + sha256 = "1m9v4hl1hyd8rmlh6z2zy6287qfnavsm9khl526jf8f7bjgpifvd"; + }; + + nativeBuildInputs = [ + cmake + pkgconfig + lxqt-build-tools + ]; + + buildInputs = [ + qtbase + qttools + qtx11extras + qtsvg + polkit-qt + kwindowsystem + liblxqt + libqtxdg + pcre + ]; + + cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; + + postPatch = '' + substituteInPlace autostart/CMakeLists.txt \ + --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" + ''; + + meta = with stdenv.lib; { + description = "The LXQt PolicyKit agent"; + homepage = https://github.com/lxqt/lxqt-policykit; + license = licenses.lgpl21; + platforms = with platforms; unix; + maintainers = with maintainers; [ romildo ]; + }; +} |