1
0
forked from nikkuss/pkgs

switch to nvfetcher and add stuff

This commit is contained in:
2026-02-19 23:01:59 +04:00
parent b6c43f6802
commit bfc37c6c70
14 changed files with 408 additions and 164 deletions
+3 -1
View File
@@ -4,8 +4,10 @@ python3.pkgs.buildPythonApplication rec {
name = "ath12k-tools";
pyproject = false;
inherit src;
sourceRoot = "source/tools/scripts/ath12k";
sourceRoot = "${src.name}/tools/scripts/ath12k";
installPhase = ''
ls -la
pwd
install -Dm755 "ath12k-bdencoder" "$out/bin/ath12k-bdencoder"
install -Dm755 "ath12k-check" "$out/bin/ath12k-check"
install -Dm755 "ath12k-fw-repo" "$out/bin/ath12k-fw-repo"
+2 -7
View File
@@ -2,16 +2,11 @@
lib,
newScope,
callPackage,
fetchFromGitHub,
...
}:
let
src = fetchFromGitHub {
owner = "qca";
repo = "qca-swiss-army-knife";
rev = "7c191e5530d32391105653b276ab587d2af9e02a";
hash = "sha256-iE4lqyr3zmLcgFnsrDvQ/CKUV15ijqmIbUIs9sgMECg=";
};
sources = callPackage ../../../../_sources/generated.nix { };
inherit (sources.ath-tools) src;
in
lib.makeScope newScope (self: {
ath12k-tools = self.callPackage ./ath12k-tools.nix { inherit src; };