diff options
author | Guillaume Girol <symphorien@users.noreply.github.com> | 2023-08-07 19:23:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 19:23:19 +0000 |
commit | f7f4f3a9d9f2285fdd22368928625f821ebb5732 (patch) | |
tree | 98f941ce97f132406e0ee87f600e4e6d3b4b4925 /pkgs | |
parent | 72b179874ef591e2618a4ae82e5c0fc590bab3b9 (diff) | |
parent | eb2222a132e3d533825d855594ee7f0d8f84bc31 (diff) | |
download | nixlib-f7f4f3a9d9f2285fdd22368928625f821ebb5732.tar nixlib-f7f4f3a9d9f2285fdd22368928625f821ebb5732.tar.gz nixlib-f7f4f3a9d9f2285fdd22368928625f821ebb5732.tar.bz2 nixlib-f7f4f3a9d9f2285fdd22368928625f821ebb5732.tar.lz nixlib-f7f4f3a9d9f2285fdd22368928625f821ebb5732.tar.xz nixlib-f7f4f3a9d9f2285fdd22368928625f821ebb5732.tar.zst nixlib-f7f4f3a9d9f2285fdd22368928625f821ebb5732.zip |
Merge pull request #247263 from jleightcap/jl/cocotb-1.8.0
python3Packages.cocotb: 1.7.2 -> 1.8.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/cocotb/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/cocotb/default.nix b/pkgs/development/python-modules/cocotb/default.nix index cc2493bb4e63..cd9c3b035819 100644 --- a/pkgs/development/python-modules/cocotb/default.nix +++ b/pkgs/development/python-modules/cocotb/default.nix @@ -9,23 +9,25 @@ , pytestCheckHook , swig , verilog +, ghdl }: buildPythonPackage rec { pname = "cocotb"; - version = "1.7.2"; + version = "1.8.0"; # pypi source doesn't include tests src = fetchFromGitHub { owner = "cocotb"; repo = "cocotb"; rev = "refs/tags/v${version}"; - hash = "sha256-gLOYwljqnYkGsdbny7+f93QgroLBaLLnDBRpoCe8uEg="; + hash = "sha256-k3VizQ9iyDawfDCeE3Zup/KkyD54tFBLdQvRKsbKDLY="; }; nativeBuildInputs = [ setuptools-scm ]; - buildInputs = [ setuptools find-libpython ]; + buildInputs = [ setuptools ]; + propagatedBuildInputs = [ find-libpython ]; postPatch = '' patchShebangs bin/*.py @@ -51,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 @@ -60,9 +62,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "cocotb" ]; meta = with lib; { + 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 ]; }; } |