Files
Evan Porter 2f32a81ab7 python3Packages.migen: update homepage url
when clicking on the old url we are redirected to this new url
2026-10-27 07:58:11 -07:00

46 lines
960 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitea,
setuptools,
colorama,
pytestCheckHook,
nix-update-script,
}:
buildPythonPackage (finalAttrs: {
pname = "migen";
version = "0.10.0";
pyproject = true;
src = fetchFromGitea {
domain = "git.m-labs.hk";
owner = "M-Labs";
repo = "migen";
tag = finalAttrs.version;
hash = "sha256-aVGzcwgcXutB9ZGiyO3v9Dmnayh+wWR9N58reOLXIf0=";
};
patches = [
# Add LOAD_FAST_BORROW to opcode tracer for python 3.14.
./tracer-3.14.patch
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ colorama ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "migen" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Python toolbox for building complex digital hardware";
homepage = "https://m-labs.hk/misc/migen";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ evanwporter ];
};
})