Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 34 lines 819 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "cocotb-bus"; 8 version = "0.2.1"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "a197aa4b0e0ad28469c8877b41b3fb2ec0206da9f491b9276d1578ce6dd8aa8d"; 13 }; 14 15 postPatch = '' 16 # remove circular dependency cocotb from setup.py 17 substituteInPlace setup.py --replace '"cocotb>=1.5.0.dev,<2.0"' "" 18 ''; 19 20 # tests require cocotb, disable for now to avoid circular dependency 21 doCheck = false; 22 23 # checkPhase = '' 24 # export PATH=$out/bin:$PATH 25 # make test 26 # ''; 27 28 meta = with lib; { 29 description = "Pre-packaged testbenching tools and reusable bus interfaces for cocotb"; 30 homepage = "https://github.com/cocotb/cocotb-bus"; 31 license = licenses.bsd3; 32 maintainers = with maintainers; [ prusnak ]; 33 }; 34}