b6956c491f
This update gets it working with Python 3.13.
40 lines
849 B
Nix
40 lines
849 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
colorama,
|
|
pytestCheckHook,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "migen";
|
|
version = "0.9.2-unstable-2024-12-25";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "m-labs";
|
|
repo = "migen";
|
|
rev = "4c2ae8dfeea37f235b52acb8166f12acaaae4f7c";
|
|
hash = "sha256-P4vaF+9iVekRAC2/mc9G7IwI6baBpPAxiDQ8uye4sAs=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [ colorama ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "migen" ];
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = {
|
|
description = " A Python toolbox for building complex digital hardware";
|
|
homepage = "https://m-labs.hk/migen";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [ l-as ];
|
|
};
|
|
}
|