2024-09-26 06:45:57 +00:00
|
|
|
tag:
|
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pyserial,
|
|
|
|
migen,
|
|
|
|
requests,
|
|
|
|
packaging,
|
|
|
|
pexpect,
|
|
|
|
}:
|
|
|
|
buildPythonPackage {
|
2024-04-19 15:13:39 +00:00
|
|
|
pname = "litex";
|
|
|
|
version = "${tag}";
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "enjoy-digital";
|
|
|
|
repo = "litex";
|
|
|
|
rev = "${tag}";
|
|
|
|
hash = "sha256-OcwqYLQ7ec2vTewdIJqP/aTCJ4yI43OIOkTMD/hIKO0=";
|
|
|
|
};
|
|
|
|
|
2024-09-26 06:45:57 +00:00
|
|
|
buildInputs = [ migen ];
|
2024-04-19 15:13:39 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
pyserial
|
|
|
|
packaging
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
}
|