Unverified Commit 0c77059f authored by Austin Horstman's avatar Austin Horstman Committed by GitHub
Browse files

cocotb-bus: 0.2.1 -> unstable-2025-11-03 (#458167)

parents 12184682 0c1da552
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -19610,6 +19610,12 @@
    githubId = 52569953;
    name = "Oskar Manhart";
  };
  oskarwires = {
    email = "me@usbcable.io";
    github = "oskarwires";
    githubId = 115482671;
    name = "Oskar";
  };
  osnyx = {
    email = "os@flyingcircus.io";
    github = "osnyx";
+9 −12
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  fetchFromGitHub,
}:

buildPythonPackage rec {
buildPythonPackage {
  pname = "cocotb-bus";
  version = "0.2.1";
  version = "unstable-2025-11-03";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "a197aa4b0e0ad28469c8877b41b3fb2ec0206da9f491b9276d1578ce6dd8aa8d";
  src = fetchFromGitHub {
    owner = "cocotb";
    repo = "cocotb-bus";
    rev = "f72b989bde036e677d5e9ebab3a6a21bdfe43d09";
    hash = "sha256-4j63kOjBd+iLA2EYqLTM0oKzKksOjH2UqNgDNFvWgYw=";
  };

  postPatch = ''
    # remove circular dependency cocotb from setup.py
    substituteInPlace setup.py --replace '"cocotb>=1.5.0.dev,<2.0"' ""
  '';

  # tests require cocotb, disable for now to avoid circular dependency
  doCheck = false;

@@ -31,6 +28,6 @@ buildPythonPackage rec {
    description = "Pre-packaged testbenching tools and reusable bus interfaces for cocotb";
    homepage = "https://github.com/cocotb/cocotb-bus";
    license = licenses.bsd3;
    maintainers = with maintainers; [ prusnak ];
    maintainers = with maintainers; [ oskarwires ];
  };
}