Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, migen 5, litex 6}: 7 8buildPythonPackage rec { 9 pname = "litex-boards"; 10 version = "2023.04"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "litex-hub"; 15 repo = "litex-boards"; 16 rev = version; 17 hash = "sha256-4gG3vvqnVXNfB7FtOeI9EPD/E8biREM5WKuYnSSBELc="; 18 }; 19 20 # VexRiscV CPU is needed. 21 nativeCheckInputs = [ migen litex ]; 22 23 pythonImportsCheck = [ "litex_boards" ]; 24 25 doCheck = false; 26 27 meta = with lib; { 28 description = "LiteX boards files"; 29 homepage = "https://github.com/litex-hub/litex-boards"; 30 license = licenses.bsd2; 31 maintainers = with maintainers; [ raitobezarius ]; 32 }; 33}