Skip to content

Commit d7441a1

Browse files
committed
ubi_reader: add update script
1 parent ab6a20d commit d7441a1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkgs/by-name/ub/ubi_reader/package.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
fetchFromGitHub,
3+
gitUpdater,
34
lib,
45
python3,
56
}:
@@ -23,6 +24,13 @@ python3.pkgs.buildPythonApplication rec {
2324
# There are no tests in the source
2425
doCheck = false;
2526

27+
passthru = {
28+
updateScript = gitUpdater {
29+
rev-prefix = "v";
30+
ignoredVersions = "_[a-z]+$";
31+
};
32+
};
33+
2634
meta = {
2735
description = "Python scripts capable of extracting and analyzing the contents of UBI and UBIFS images";
2836
homepage = "https://github.com/onekey-sec/ubi_reader";

0 commit comments

Comments
 (0)