flipperzero-firmware: build scons from github source

This commit is contained in:
Luke Granger-Brown 2024-01-28 03:01:56 +00:00
parent 9c586fcb6c
commit b7c652ffc6

View file

@ -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; [