Unverified Commit 318c3b3f authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

xf86-input-wacom: enable strictDeps, fix configured version, modernize (#485588)

parents abf8b7e0 e00de075
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -26,14 +26,20 @@ stdenv.mkDerivation (finalAttrs: {
  src = fetchFromGitHub {
    owner = "linuxwacom";
    repo = "xf86-input-wacom";
    rev = "xf86-input-wacom-${finalAttrs.version}";
    sha256 = "sha256-12m9PL28NnqIwNpGHOFqjJaNrzBaagdG3Sp/jSLpgkE=";
    tag = "xf86-input-wacom-${finalAttrs.version}";
    hash = "sha256-12m9PL28NnqIwNpGHOFqjJaNrzBaagdG3Sp/jSLpgkE=";
  };

  preConfigure = ''
    # See VERFILE in git-version-gen
    echo ${finalAttrs.version} > version
  '';

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
    udevCheckHook
    util-macros
  ];

  buildInputs = [
@@ -45,7 +51,6 @@ stdenv.mkDerivation (finalAttrs: {
    libxrender
    ncurses
    udev
    util-macros
    pixman
    xorgproto
    xorg-server
@@ -59,6 +64,8 @@ stdenv.mkDerivation (finalAttrs: {
    "--with-xorg-conf-dir=${placeholder "out"}/share/X11/xorg.conf.d"
  ];

  strictDeps = true;

  meta = {
    maintainers = with lib.maintainers; [ moni ];
    description = "Wacom digitizer driver for X11";