rt5677-firmware: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-09 10:25:41 +01:00
parent 2cfd9d2593
commit c3857b318e

View file

@ -1,15 +1,15 @@
{ lib, stdenv, fetchgit }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
name = "rt5677-firmware";
src = fetchgit {
url = "https://github.com/raphael/linux-samus";
src = fetchFromGitHub {
owner = "raphael";
repo = "linux-samus";
rev = "995de6c2093797905fbcd79f1a3625dd3f50be37";
sha256 = "0a6lz9wadm47cmva136q6wd0lw03bmymf9ispnzb091a7skwacry";
sha256 = "sha256-PjPFpz4qJLC+vTomV31dA3AKGjfYjKB2ZYfUpnj61Cg=";
};
installPhase = ''
mkdir -p $out/lib/firmware
cp ./firmware/rt5677_elf_vad $out/lib/firmware