nixos-hardware/dell/xps/13-9360/firmware_qca6174.nix

23 lines
823 B
Nix
Raw Normal View History

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