depot/third_party/nixpkgs/pkgs/development/python-modules/misoc/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

41 lines
815 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pyserial,
asyncserial,
jinja2,
migen,
numpy,
}:
buildPythonPackage {
pname = "misoc";
version = "0-unstable-2024-05-14";
format = "setuptools";
src = fetchFromGitHub {
owner = "m-labs";
repo = "misoc";
rev = "fea9de558c730bc394a5936094ae95bb9d6fa726";
hash = "sha256-zZ9LnUwvTvBL9iNFfmNTklQnd0I4PmV0BApMSblTnc0=";
};
propagatedBuildInputs = [
pyserial
asyncserial
jinja2
migen
];
nativeCheckInputs = [ 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 ];
};
}