at master 887 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 # dependencies 7 pyserial, 8 asyncserial, 9 jinja2, 10 migen, 11 12 # tests 13 unittestCheckHook, 14 numpy, 15}: 16 17buildPythonPackage { 18 pname = "misoc"; 19 version = "0.12-unstable-2025-10-03"; 20 format = "setuptools"; 21 22 src = fetchFromGitHub { 23 owner = "m-labs"; 24 repo = "misoc"; 25 rev = "59043e979f78934f2c2f99ac417c65aa0c7be0b9"; 26 hash = "sha256-dXamAZkLdTC9UeZV6biipsZN4LHO+ZLoXV4LO+L7HTM="; 27 }; 28 29 dependencies = [ 30 pyserial 31 asyncserial 32 jinja2 33 migen 34 ]; 35 36 nativeCheckInputs = [ 37 unittestCheckHook 38 numpy 39 ]; 40 41 pythonImportsCheck = [ "misoc" ]; 42 43 meta = { 44 description = "Original high performance and small footprint system-on-chip based on Migen"; 45 homepage = "https://github.com/m-labs/misoc"; 46 license = lib.licenses.bsd2; 47 maintainers = with lib.maintainers; [ doronbehar ]; 48 }; 49}