diff options
author | Raymond Gauthier <jraygauthier@gmail.com> | 2021-11-01 14:53:58 -0400 |
---|---|---|
committer | Raymond Gauthier <jraygauthier@gmail.com> | 2021-11-01 14:53:58 -0400 |
commit | 3a912b2cac2c934bca903f3c995e57ef514230ed (patch) | |
tree | 557b9ff1eb3fa44f8a4509683cb074b6cf3c1e5e /pkgs | |
parent | b165ce0c4efbb74246714b5c66b6bcdce8cde175 (diff) |
nxpmicro-mfgtools: 1.4.72 -> 1.4.165
Also: - Add support for provided bash completions. - Add myself as maintainer.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/misc/nxpmicro-mfgtools/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/tools/misc/nxpmicro-mfgtools/default.nix b/pkgs/development/tools/misc/nxpmicro-mfgtools/default.nix index 8b603fbc5ce52..63f42ffe07cc9 100644 --- a/pkgs/development/tools/misc/nxpmicro-mfgtools/default.nix +++ b/pkgs/development/tools/misc/nxpmicro-mfgtools/default.nix @@ -3,6 +3,7 @@ , cmake , pkg-config , bzip2 +, installShellFiles , libusb1 , libzip , openssl @@ -10,16 +11,16 @@ stdenv.mkDerivation rec { pname = "nxpmicro-mfgtools"; - version = "1.4.72"; + version = "1.4.165"; src = fetchFromGitHub { owner = "NXPmicro"; repo = "mfgtools"; rev = "uuu_${version}"; - sha256 = "1s3wlz4yb2p8by5p66vr0z72n84mxkrmda63x9yr6pinqinsyrvv"; + sha256 = "0k309lp27d4k6x4qq0badbk8i47xsc6f3fffz73650iyfs4hcniw"; }; - nativeBuildInputs = [ cmake pkg-config ]; + nativeBuildInputs = [ cmake pkg-config installShellFiles ]; buildInputs = [ bzip2 libusb1 libzip openssl ]; @@ -31,6 +32,8 @@ stdenv.mkDerivation rec { $out/bin/uuu -udev > udev-rules 2>stderr.txt rules_file="$(cat stderr.txt|grep '1: put above udev run into'|sed 's|^.*/||')" install -D udev-rules "$out/lib/udev/rules.d/$rules_file" + installShellCompletion --cmd uuu \ + --bash ../snap/local/bash-completion/universal-update-utility ''; meta = with lib; { @@ -48,7 +51,7 @@ stdenv.mkDerivation rec { ''; homepage = "https://github.com/NXPmicro/mfgtools"; license = licenses.bsd3; - maintainers = [ maintainers.bmilanov ]; + maintainers = with maintainers; [ bmilanov jraygauthier ]; platforms = platforms.all; }; } |