From b7c652ffc6cce1e19654527cdbdaf69ce0f610b8 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 28 Jan 2024 03:01:56 +0000 Subject: [PATCH] flipperzero-firmware: build scons from github source --- nix/pkgs/flipperzero-firmware/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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; [