forked from nikkuss/pkgs
switch to nvfetcher and add stuff
This commit is contained in:
@@ -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,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; };
|
||||
|
||||
Reference in New Issue
Block a user