nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 782 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5}: 6 7buildPythonPackage { 8 pname = "cocotb-bus"; 9 version = "unstable-2025-11-03"; 10 format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "cocotb"; 14 repo = "cocotb-bus"; 15 rev = "f72b989bde036e677d5e9ebab3a6a21bdfe43d09"; 16 hash = "sha256-4j63kOjBd+iLA2EYqLTM0oKzKksOjH2UqNgDNFvWgYw="; 17 }; 18 19 # tests require cocotb, disable for now to avoid circular dependency 20 doCheck = false; 21 22 # checkPhase = '' 23 # export PATH=$out/bin:$PATH 24 # make test 25 # ''; 26 27 meta = { 28 description = "Pre-packaged testbenching tools and reusable bus interfaces for cocotb"; 29 homepage = "https://github.com/cocotb/cocotb-bus"; 30 license = lib.licenses.bsd3; 31 maintainers = with lib.maintainers; [ oskarwires ]; 32 }; 33}