Unverified Commit 84935de7 authored by Jack Leightcap's avatar Jack Leightcap
Browse files

python3Packages.cocotb: 1.7.2 -> 1.8.0

parent dfcffbd7
Loading
Loading
Loading
Loading
+7 −15
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 }:

buildPythonPackage rec {
  pname = "cocotb";
  version = "1.7.2";
  version = "1.8.0";

  # pypi source doesn't include tests
  src = fetchFromGitHub {
@@ -25,7 +15,8 @@ buildPythonPackage rec {

  nativeBuildInputs = [ setuptools-scm ];

  buildInputs = [ setuptools find-libpython ];
  buildInputs = [ setuptools ];
  propagatedBuildInputs = [ find-libpython ];

  postPatch = ''
    patchShebangs bin/*.py
@@ -60,7 +51,8 @@ buildPythonPackage rec {
  pythonImportsCheck = [ "cocotb" ];

  meta = with lib; {
    description = "Coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python";
    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 ];