Skip to content

Commit e4c5992

Browse files
committedJan 20, 2025
sunxi-tools: cleanup and add update script
1 parent fa3e9f2 commit e4c5992

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed
 

‎pkgs/by-name/su/sunxi-tools/package.nix

+8-5
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
dtc,
77
libusb1,
88
zlib,
9+
unstableGitUpdater,
910
}:
1011

11-
stdenv.mkDerivation rec {
12+
stdenv.mkDerivation {
1213
pname = "sunxi-tools";
1314
version = "unstable-2024-10-13";
1415

@@ -38,11 +39,13 @@ stdenv.mkDerivation rec {
3839
"install-misc"
3940
];
4041

41-
meta = with lib; {
42+
passthru.updateScript = unstableGitUpdater { };
43+
44+
meta = {
4245
description = "Tools for Allwinner SoC devices";
4346
homepage = "http://linux-sunxi.org/";
44-
license = licenses.gpl2Plus;
45-
platforms = platforms.linux;
46-
maintainers = with maintainers; [ elitak ];
47+
license = lib.licenses.gpl2Plus;
48+
platforms = lib.platforms.linux;
49+
maintainers = [ lib.maintainers.elitak ];
4750
};
4851
}

0 commit comments

Comments
 (0)
Failed to load comments.