groovylight/litex/litex.nix
Saji ccdbc98cb0
Some checks failed
Verilator Unit Tests / Test (push) Failing after 3m35s
add flake/nix formatter (nixfmt)
2024-09-26 01:46:28 -05:00

33 lines
462 B
Nix

tag:
{
pkgs,
lib,
buildPythonPackage,
pyserial,
migen,
requests,
packaging,
pexpect,
}:
buildPythonPackage {
pname = "litex";
version = "${tag}";
src = pkgs.fetchFromGitHub {
owner = "enjoy-digital";
repo = "litex";
rev = "${tag}";
hash = "sha256-OcwqYLQ7ec2vTewdIJqP/aTCJ4yI43OIOkTMD/hIKO0=";
};
buildInputs = [ migen ];
propagatedBuildInputs = [
requests
pyserial
packaging
];
doCheck = false;
}