mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-27 05:19:43 +01:00
Use fetchFromGitHub
to retrieve qca6390 fw more efficiently
Addresses @terinjokes comment [here][1].
[1]: 906cd8b20c (pullrequestreview-542698197)
This commit is contained in:
parent
b60b1f95eb
commit
cdea79566b
1 changed files with 7 additions and 5 deletions
|
@ -1,16 +1,17 @@
|
||||||
# Based on instructions from kvalo at: http://lists.infradead.org/pipermail/ath11k/2020-November/000537.html
|
# Based on instructions from kvalo at: http://lists.infradead.org/pipermail/ath11k/2020-November/000537.html
|
||||||
# The xps/13-9360/qca6174-firmware.nix was a useful reference for how to setup this module.
|
# The xps/13-9360/qca6174-firmware.nix was a useful reference for how to setup this module.
|
||||||
{ stdenv }:
|
{ stdenv, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${target}-firmware-${version}";
|
name = "${target}-firmware-${version}";
|
||||||
version = "${branch}-00042";
|
version = "${branch}-00042";
|
||||||
branch = "master";
|
branch = "master";
|
||||||
target = "QCA6390";
|
target = "QCA6390";
|
||||||
src = builtins.fetchGit {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/kvalo/ath11k-firmware.git";
|
owner = "kvalo";
|
||||||
ref = "master";
|
repo = "ath11k-firmware";
|
||||||
rev = "45a6c45a19799d3b06fc2287d5ba44e19ee0aa00";
|
rev = "45a6c45a19799d3b06fc2287d5ba44e19ee0aa00";
|
||||||
|
sha256 = "1slfjzy2b9zi8744gyw8piz9gfvrh8s38wmyzzqj525iy76zn4qv";
|
||||||
};
|
};
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
mkdir -p $out/lib/firmware/ath11k/${target}/hw2.0/
|
mkdir -p $out/lib/firmware/ath11k/${target}/hw2.0/
|
||||||
|
@ -24,7 +25,8 @@ stdenv.mkDerivation rec {
|
||||||
This derivation is based on the instructions provided by kvalo in:
|
This derivation is based on the instructions provided by kvalo in:
|
||||||
http://lists.infradead.org/pipermail/ath11k/2020-November/000537.html
|
http://lists.infradead.org/pipermail/ath11k/2020-November/000537.html
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/kvalo/ath11k-firmware/tree/master/QCA6390/hw2.0";
|
homepage =
|
||||||
|
"https://github.com/kvalo/ath11k-firmware/tree/master/QCA6390/hw2.0";
|
||||||
license = licenses.unfreeRedistributable;
|
license = licenses.unfreeRedistributable;
|
||||||
maintainers = with maintainers; [ mitchmindtree ];
|
maintainers = with maintainers; [ mitchmindtree ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
|
Loading…
Reference in a new issue