2024-04-18 16:58:49 +00:00
|
|
|
tag: {
|
|
|
|
pkgs
|
|
|
|
, lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pyserial
|
|
|
|
, migen
|
|
|
|
, requests
|
|
|
|
, packaging
|
2024-04-19 07:03:52 +00:00
|
|
|
, pexpect
|
2024-04-18 16:58:49 +00:00
|
|
|
}: buildPythonPackage {
|
|
|
|
pname = "litex";
|
|
|
|
version = "${tag}";
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "enjoy-digital";
|
|
|
|
repo = "litex";
|
|
|
|
rev = "${tag}";
|
|
|
|
hash = "sha256-OcwqYLQ7ec2vTewdIJqP/aTCJ4yI43OIOkTMD/hIKO0=";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2024-04-19 07:03:52 +00:00
|
|
|
migen
|
2024-04-18 16:58:49 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
pyserial
|
|
|
|
packaging
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
}
|