python310Packages.cocotb 0 -> 1 attrpath: python310Packages.cocotb Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/dqyziz5irrx8fgcxlnvla9gxylixmxs6-packages.json.drv building '/nix/store/dqyziz5irrx8fgcxlnvla9gxylixmxs6-packages.json.drv'... Going to be running update for following packages: - python3.10-cocotb-1.7.1 Press Enter key to continue... Running update for: - python3.10-cocotb-1.7.1: UPDATING ... - python3.10-cocotb-1.7.1: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/cocotb/default.nix b/pkgs/development/python-modules/cocotb/default.nix index 688fc7c367b..9c06cd2f8b7 100644 --- a/pkgs/development/python-modules/cocotb/default.nix +++ b/pkgs/development/python-modules/cocotb/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "cocotb"; - version = "1.7.1"; + version = "1.7.2"; # pypi source doesn't include tests src = fetchFromGitHub { owner = "cocotb"; repo = "cocotb"; - rev = "v${version}"; - sha256 = "sha256-wACgT5r0YmSYvLhTsuFhTcJqeCtGGLifOmr7/Lz2Vug="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-gLOYwljqnYkGsdbny7+f93QgroLBaLLnDBRpoCe8uEg="; }; nativeBuildInputs = [ setuptools-scm ]; No auto update branch exists Old version 1.7.1" not present in staging derivation file with contents: { lib , stdenv , buildPythonPackage , fetchFromGitHub , setuptools , setuptools-scm , cocotb-bus , pytestCheckHook , swig , verilog }: buildPythonPackage rec { pname = "cocotb"; version = "1.7.2"; # pypi source doesn't include tests src = fetchFromGitHub { owner = "cocotb"; repo = "cocotb"; rev = "refs/tags/v${version}"; sha256 = "sha256-gLOYwljqnYkGsdbny7+f93QgroLBaLLnDBRpoCe8uEg="; }; nativeBuildInputs = [ setuptools-scm ]; buildInputs = [ setuptools ]; postPatch = '' patchShebangs bin/*.py # POSIX portability (TODO: upstream this) for f in \ cocotb/share/makefiles/Makefile.* \ cocotb/share/makefiles/simulators/Makefile.* do substituteInPlace $f --replace 'shell which' 'shell command -v' done # remove circular dependency cocotb-bus from setup.py substituteInPlace setup.py --replace "'cocotb-bus<1.0'" "" '' + lib.optionalString stdenv.isDarwin '' # disable lto on darwin # https://github.com/NixOS/nixpkgs/issues/19098 substituteInPlace cocotb_build_libs.py --replace "-flto" "" ''; patches = [ # Fix "can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file" error ./0001-Patch-LDCXXSHARED-for-macOS-along-with-LDSHARED.patch ]; checkInputs = [ cocotb-bus pytestCheckHook swig verilog ]; preCheck = '' export PATH=$out/bin:$PATH mv cocotb cocotb.hidden ''; pythonImportsCheck = [ "cocotb" ]; meta = with lib; { 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 ]; }; } python310Packages.cocotb 0 -> 1 attrpath: python310Packages.cocotb Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [updateScript] [updateScript] Success [updateScript] warning: error: SQLite database '/nix/var/nix/db/db.sqlite' is busy this derivation will be built: /nix/store/dqyziz5irrx8fgcxlnvla9gxylixmxs6-packages.json.drv building '/nix/store/dqyziz5irrx8fgcxlnvla9gxylixmxs6-packages.json.drv'... Going to be running update for following packages: - python3.10-cocotb-1.7.1 Press Enter key to continue... Running update for: - python3.10-cocotb-1.7.1: UPDATING ... - python3.10-cocotb-1.7.1: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/cocotb/default.nix b/pkgs/development/python-modules/cocotb/default.nix index 688fc7c367b..9c06cd2f8b7 100644 --- a/pkgs/development/python-modules/cocotb/default.nix +++ b/pkgs/development/python-modules/cocotb/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "cocotb"; - version = "1.7.1"; + version = "1.7.2"; # pypi source doesn't include tests src = fetchFromGitHub { owner = "cocotb"; repo = "cocotb"; - rev = "v${version}"; - sha256 = "sha256-wACgT5r0YmSYvLhTsuFhTcJqeCtGGLifOmr7/Lz2Vug="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-gLOYwljqnYkGsdbny7+f93QgroLBaLLnDBRpoCe8uEg="; }; nativeBuildInputs = [ setuptools-scm ]; No auto update branch exists Old version 1.7.1" not present in staging derivation file with contents: { lib , stdenv , buildPythonPackage , fetchFromGitHub , setuptools , setuptools-scm , cocotb-bus , pytestCheckHook , swig , verilog }: buildPythonPackage rec { pname = "cocotb"; version = "1.7.2"; # pypi source doesn't include tests src = fetchFromGitHub { owner = "cocotb"; repo = "cocotb"; rev = "refs/tags/v${version}"; sha256 = "sha256-gLOYwljqnYkGsdbny7+f93QgroLBaLLnDBRpoCe8uEg="; }; nativeBuildInputs = [ setuptools-scm ]; buildInputs = [ setuptools ]; postPatch = '' patchShebangs bin/*.py # POSIX portability (TODO: upstream this) for f in \ cocotb/share/makefiles/Makefile.* \ cocotb/share/makefiles/simulators/Makefile.* do substituteInPlace $f --replace 'shell which' 'shell command -v' done # remove circular dependency cocotb-bus from setup.py substituteInPlace setup.py --replace "'cocotb-bus<1.0'" "" '' + lib.optionalString stdenv.isDarwin '' # disable lto on darwin # https://github.com/NixOS/nixpkgs/issues/19098 substituteInPlace cocotb_build_libs.py --replace "-flto" "" ''; patches = [ # Fix "can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file" error ./0001-Patch-LDCXXSHARED-for-macOS-along-with-LDSHARED.patch ]; checkInputs = [ cocotb-bus pytestCheckHook swig verilog ]; preCheck = '' export PATH=$out/bin:$PATH mv cocotb cocotb.hidden ''; pythonImportsCheck = [ "cocotb" ]; meta = with lib; { 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 ]; }; }