glasgow: 2023-04-15 -> 2023-09-20: bump
Multiple bugfixes, especially with revC3 hardware: partially fixed selftests, and firmware/usb fixes
This commit is contained in:
parent
2d69907ac8
commit
117a9e2ed8
|
@ -9,17 +9,15 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "glasgow";
|
pname = "glasgow";
|
||||||
version = "unstable-2023-04-15";
|
version = "unstable-2023-09-20";
|
||||||
# python -m setuptools_scm
|
# python -m setuptools_scm
|
||||||
realVersion = "0.1.dev2+g${lib.substring 0 7 src.rev}";
|
realVersion = "0.1.dev1798+g${lib.substring 0 7 src.rev}";
|
||||||
|
|
||||||
patches = [ ./0001-Relax-Amaranth-git-dependency.patch ];
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "GlasgowEmbedded";
|
owner = "GlasgowEmbedded";
|
||||||
repo = "glasgow";
|
repo = "glasgow";
|
||||||
rev = "406e06fae5c85f6f773c9839747513874bc3ec77";
|
rev = "e9a9801d5be3dcba0ee188dd8a6e9115e337795d";
|
||||||
sha256 = "sha256-s4fWpKJj6n2+CIAsD2bjr5K8RhJz1H1sFnjiartNGf0=";
|
sha256 = "sha256-ztB3I/jrDSm1gKB1e5igivUVloq+YYhkshDlWg75NMA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -30,6 +28,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
aiohttp
|
aiohttp
|
||||||
amaranth
|
amaranth
|
||||||
|
appdirs
|
||||||
bitarray
|
bitarray
|
||||||
crc
|
crc
|
||||||
fx2
|
fx2
|
||||||
|
@ -58,6 +57,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
# tests attempt to cache bitstreams
|
||||||
|
export XDG_CACHE_HOME=$TMPDIR
|
||||||
${python3.interpreter} -W ignore::DeprecationWarning test.py
|
${python3.interpreter} -W ignore::DeprecationWarning test.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue