From ab07c7aa8693035090e7649ccd88075c5f689739 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Mon, 24 Jan 2022 14:33:39 +1100 Subject: [PATCH] surface-control: 0.3.1-2 -> 0.4.1-2 --- pkgs/applications/misc/surface-control/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/surface-control/default.nix b/pkgs/applications/misc/surface-control/default.nix index e4b354845dde..d8708c5a3df1 100644 --- a/pkgs/applications/misc/surface-control/default.nix +++ b/pkgs/applications/misc/surface-control/default.nix @@ -1,19 +1,20 @@ -{ lib, rustPlatform, fetchFromGitHub, installShellFiles, coreutils }: +{ lib, rustPlatform, fetchFromGitHub, pkg-config, installShellFiles, udev, coreutils }: rustPlatform.buildRustPackage rec { pname = "surface-control"; - version = "0.3.1-2"; + version = "0.4.1-2"; src = fetchFromGitHub { owner = "linux-surface"; repo = pname; rev = "v${version}"; - sha256 = "sha256-SLJ4mwBafLGL5pneMTHLc4S4Tgds2xLqByWFH95TK1k="; + sha256 = "sha256-ZgtEmjk1HwoKkyuOiMWalK5RPb3ML8HM/wwz8OM9HoI="; }; - cargoSha256 = "sha256-NH33AMuwf4bOF9zZJlONVMYgrrYSBq5VQClYW/rbzsM="; + cargoSha256 = "sha256-CsPyY/NA2+Lecemuor2nHd6yzf2PvMK7NZyvY3vewpI="; - nativeBuildInputs = [ installShellFiles ]; + nativeBuildInputs = [ pkg-config installShellFiles ]; + buildInputs = [ udev ]; postInstall = '' installShellCompletion \