diff --git a/nix/pkgs/flipperzero-firmware/default.nix b/nix/pkgs/flipperzero-firmware/default.nix index d6fe563dbf..105599cd1b 100644 --- a/nix/pkgs/flipperzero-firmware/default.nix +++ b/nix/pkgs/flipperzero-firmware/default.nix @@ -21,9 +21,11 @@ let }; scons = pkgs.scons.overridePythonAttrs (_: rec { version = "4.4.0"; - src = pkgs.fetchurl { - url = "mirror://sourceforge/scons/scons/${version}/SCons-${version}.tar.gz"; - sha256 = "0pv836q2j37w29hg5w5d7ssjfglv9kq5yd0v1vm1cj4j78qb4hrx"; + src = pkgs.fetchFromGitHub { + owner = "Scons"; + repo = "scons"; + rev = version; + sha256 = "sha256:1czswx1fj2j48rspkrvarkr43k0vii9rsmz054c9yby1dq362fgr"; }; }); python-with-deps = pkgs.python3.withPackages (pm: with pm; [