Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
887 B
Nix
50 lines
887 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# dependencies
|
|
pyserial,
|
|
asyncserial,
|
|
jinja2,
|
|
migen,
|
|
|
|
# tests
|
|
unittestCheckHook,
|
|
numpy,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "misoc";
|
|
version = "0.12-unstable-2025-10-03";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "m-labs";
|
|
repo = "misoc";
|
|
rev = "59043e979f78934f2c2f99ac417c65aa0c7be0b9";
|
|
hash = "sha256-dXamAZkLdTC9UeZV6biipsZN4LHO+ZLoXV4LO+L7HTM=";
|
|
};
|
|
|
|
dependencies = [
|
|
pyserial
|
|
asyncserial
|
|
jinja2
|
|
migen
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
unittestCheckHook
|
|
numpy
|
|
];
|
|
|
|
pythonImportsCheck = [ "misoc" ];
|
|
|
|
meta = {
|
|
description = "Original high performance and small footprint system-on-chip based on Migen";
|
|
homepage = "https://github.com/m-labs/misoc";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [ doronbehar ];
|
|
};
|
|
}
|