Unverified Commit eb2222a1 authored by Jack Leightcap's avatar Jack Leightcap
Browse files

fixup! python3Packages.cocotb: 1.7.2 -> 1.8.0

parent 84935de7
Loading
Loading
Loading
Loading
+18 −7
Original line number Diff line number Diff line
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, setuptools, setuptools-scm
, cocotb-bus, find-libpython, pytestCheckHook, swig, verilog }:
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, setuptools
, setuptools-scm
, cocotb-bus
, find-libpython
, pytestCheckHook
, swig
, verilog
, ghdl
}:

buildPythonPackage rec {
  pname = "cocotb";
@@ -10,7 +21,7 @@ buildPythonPackage rec {
    owner = "cocotb";
    repo = "cocotb";
    rev = "refs/tags/v${version}";
    hash = "sha256-gLOYwljqnYkGsdbny7+f93QgroLBaLLnDBRpoCe8uEg=";
    hash = "sha256-k3VizQ9iyDawfDCeE3Zup/KkyD54tFBLdQvRKsbKDLY=";
  };

  nativeBuildInputs = [ setuptools-scm ];
@@ -42,7 +53,7 @@ buildPythonPackage rec {
    ./0001-Patch-LDCXXSHARED-for-macOS-along-with-LDSHARED.patch
  ];

  nativeCheckInputs = [ cocotb-bus pytestCheckHook swig verilog ];
  nativeCheckInputs = [ cocotb-bus pytestCheckHook swig verilog ghdl ];
  preCheck = ''
    export PATH=$out/bin:$PATH
    mv cocotb cocotb.hidden
@@ -51,10 +62,10 @@ buildPythonPackage rec {
  pythonImportsCheck = [ "cocotb" ];

  meta = with lib; {
    description =
      "Coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python";
    changelog = "https://github.com/cocotb/cocotb/releases/tag/v${version}";
    description = "Coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python";
    homepage = "https://github.com/cocotb/cocotb";
    license = licenses.bsd3;
    maintainers = with maintainers; [ matthuszagh ];
    maintainers = with maintainers; [ matthuszagh jleightcap ];
  };
}