Use fetchFromGitHub instead of fetchgit

This commit is contained in:
mexisme 2021-03-06 22:48:50 +13:00
parent 523d8efb5d
commit bfbb77e8f1

View file

@ -1,13 +1,15 @@
{ lib, pkgs, fetchgit, fetchurl }: { lib, pkgs, fetchFromGitHub, fetchurl }:
{ {
linux-surface = fetchgit { linux-surface = fetchFromGitHub {
url="https://github.com/linux-surface/linux-surface.git"; owner="linux-surface";
repo="linux-surface";
rev="f8fab978a480a4ed57e9ebb6928683b2e443c1c5"; rev="f8fab978a480a4ed57e9ebb6928683b2e443c1c5";
sha256="0zwybprwjckpapxm6gxzh6hwdd1w91g5sjxn6z52zlvvjpkmw959"; sha256="0zwybprwjckpapxm6gxzh6hwdd1w91g5sjxn6z52zlvvjpkmw959";
}; };
ath10k-firmware = fetchgit { ath10k-firmware = fetchFromGitHub {
url="https://github.com/kvalo/ath10k-firmware"; owner="kvalo";
repo="ath10k-firmware";
rev="84b47062aab31d67156e0a3ef593a6999a12864b"; rev="84b47062aab31d67156e0a3ef593a6999a12864b";
sha256="0l8wfj8z4jbb31nzqkaxisby0n6061ix01c5di9bq66iby59j8py"; sha256="0l8wfj8z4jbb31nzqkaxisby0n6061ix01c5di9bq66iby59j8py";
}; };
@ -18,8 +20,9 @@
sha256="0l8wfj8z4jbb31nzqkaxisby0n6061ix01c5di9bq66iby59j8py"; sha256="0l8wfj8z4jbb31nzqkaxisby0n6061ix01c5di9bq66iby59j8py";
}; };
surface-go-ath10k-firmware_backup = fetchgit { surface-go-ath10k-firmware_backup = fetchFromGitHub {
url="https://github.com/mexisme/linux-surface_ath10k-firmware.git"; owner="mexisme";
repo="linux-surface_ath10k-firmware";
rev="74e5409e699383d6ca2bc4da4a8433d16f3850b1"; rev="74e5409e699383d6ca2bc4da4a8433d16f3850b1";
sha256="169vgvxpgad9anmchs22fj5qm6ahzjfdnwhd8pc280q705vx6pjk"; sha256="169vgvxpgad9anmchs22fj5qm6ahzjfdnwhd8pc280q705vx6pjk";
}; };