From 605055deea6cedab90ae17c5a9e784212e00fac6 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Wed, 4 Sep 2024 15:58:27 +0200 Subject: [PATCH] usteer: init at unstable-04-09-2024 Signed-off-by: Raito Bezarius --- pkgs/default.nix | 1 + pkgs/usteer/default.nix | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/usteer/default.nix diff --git a/pkgs/default.nix b/pkgs/default.nix index e719d4e..c930824 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -112,6 +112,7 @@ in { tufted = callPackage ./tufted {}; libubox = callPackage ./libubox {}; ubus = callPackage ./ubus {}; + usteer = callPackage ./usteer {}; uevent-watch = callPackage ./uevent-watch {}; usb-modeswitch = callPackage ./usb-modeswitch {}; writeAshScript = callPackage ./write-ash-script {}; diff --git a/pkgs/usteer/default.nix b/pkgs/usteer/default.nix new file mode 100644 index 0000000..5e60294 --- /dev/null +++ b/pkgs/usteer/default.nix @@ -0,0 +1,36 @@ +{ + lib, + stdenv, + fetchFromGitHub, + cmake, + json_c, + libpcap, + libubox, + ubus, +}: + +stdenv.mkDerivation rec { + pname = "usteer"; + version = "unstable-04-09-2024"; + + src = fetchFromGitHub { + owner = "openwrt"; + repo = "usteer"; + rev = "e218150979b40a1b3c59ad0aaa3bbb943814db1e"; + hash = "sha256-shbN5Wp7m/olr0OcckcPk11yXnJxpnllXqi/bw+X7gM="; + }; + + nativeBuildInputs = [ + cmake + ]; + + buildInputs = [ ubus libpcap libubox json_c ]; + + meta = { + description = ""; + homepage = "https://github.com/openwrt/usteer"; + maintainers = with lib.maintainers; [ raitobezarius ]; + mainProgram = "usteer"; + platforms = lib.platforms.all; + }; +} -- 2.47.0