Unverified Commit 2470337a authored by Stefan Frijters's avatar Stefan Frijters Committed by GitHub
Browse files

openbox: enable strictDeps (#509530)

parents 9be8dd00 249935e4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -15,8 +15,10 @@
  libsm,
  imlib2,
  pango,
  bashNonInteractive,
  libstartup_notification,
  makeWrapper,
  versionCheckHook,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -27,10 +29,12 @@ stdenv.mkDerivation (finalAttrs: {
    autoreconfHook
    pkg-config
    makeWrapper
    python3
    python3.pkgs.wrapPython
  ];

  buildInputs = [
    bashNonInteractive
    libxml2
    libxinerama
    libxcursor
@@ -47,6 +51,8 @@ stdenv.mkDerivation (finalAttrs: {
    imlib2
  ];

  strictDeps = true;

  pythonPath = with python3.pkgs; [
    pyxdg
  ];
@@ -89,6 +95,9 @@ stdenv.mkDerivation (finalAttrs: {
    wrapPythonProgramsIn "$out/libexec" "$out ''${pythonPath[*]}"
  '';

  doInstallCheck = true;
  nativeInstallCheckInputs = [ versionCheckHook ];

  meta = {
    description = "X window manager for non-desktop embedded systems";
    homepage = "http://openbox.org/";