wb32-dfu-updater: apply suggestions from code review

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
Florian Warzecha 2023-10-18 17:10:13 +02:00 committed by GitHub
parent a56440e9af
commit c3528adc2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,4 @@
{ callPackage
, lib
{ lib
, stdenv
, fetchFromGitHub
, cmake
@ -14,7 +13,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "WestberryTech";
repo = finalAttrs.pname;
rev = finalAttrs.version;
sha256 = "sha256-DKsDVO00JFhR9hIZksFVJLRwC6PF9LCRpf++QywFO2w=";
hash = "sha256-DKsDVO00JFhR9hIZksFVJLRwC6PF9LCRpf++QywFO2w=";
};
nativeBuildInputs = [ cmake ];