2018-05-15 18:54:18 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2018-05-15 15:46:41 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${target}-firmware-${version}";
|
2018-05-15 18:54:18 +02:00
|
|
|
version = "${branch}-00042";
|
|
|
|
|
|
|
|
branch = "4.4.1.c1";
|
|
|
|
target = "QCA6174";
|
|
|
|
|
2018-05-15 15:46:41 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/kvalo/ath10k-firmware/raw/master/${target}/hw3.0/${branch}/firmware-6.bin_RM.${version}-QCARMSWP-1";
|
|
|
|
sha256 = "01vvz3qhqw5l3yilcqgk1spk4y9k4qy7na7a57cbl037r231szdh";
|
|
|
|
};
|
2018-05-15 18:54:18 +02:00
|
|
|
|
2018-05-15 15:46:41 +02:00
|
|
|
buildCommand = ''
|
|
|
|
install -D $src $out/lib/firmware/ath10k/${target}/hw3.0/firmware-6.bin
|
|
|
|
'';
|
2018-05-15 18:54:18 +02:00
|
|
|
|
2018-05-15 15:46:41 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Updated firmware for the qca6174 wireless chip";
|
2018-05-15 18:54:18 +02:00
|
|
|
homepage = "https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0";
|
|
|
|
license = licenses.unfreeRedistributable;
|
2018-05-15 15:46:41 +02:00
|
|
|
maintainers = with maintainers; [ yorickvp ];
|
2018-05-15 18:54:18 +02:00
|
|
|
platforms = platforms.linux;
|
2018-05-15 15:46:41 +02:00
|
|
|
};
|
|
|
|
}
|