From ad71d3105c02faa55517d67cc047b8a572159fbf Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Wed, 30 Aug 2023 01:55:18 -0700 Subject: [PATCH] uhdm: 1.57 -> 1.73 Also, use the finalAttrs pattern for easier overrides. Explicitly mention that we don't fetch submodules to emphasize that all vendored dependencies are replaced with nix dependencies. --- pkgs/applications/science/logic/uhdm/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/science/logic/uhdm/default.nix b/pkgs/applications/science/logic/uhdm/default.nix index 2a667a8ac9d4..c1acd79dcab0 100644 --- a/pkgs/applications/science/logic/uhdm/default.nix +++ b/pkgs/applications/science/logic/uhdm/default.nix @@ -7,15 +7,16 @@ , gtest }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "UHDM"; - version = "1.57"; + version = "1.73"; src = fetchFromGitHub { owner = "chipsalliance"; - repo = pname; - rev = "v${version}"; - hash = "sha256-z3vURlKXCW5W2naVwJjBXcn94u80JsBxlUOIy9ylsJw="; + repo = finalAttrs.pname; + rev = "v${finalAttrs.version}"; + hash = "sha256-VmRn51UrJTGEG4n2fi5kRv8khXakfGbqMtYPejsZCBI="; + fetchSubmodules = false; # we use all dependencies from nix }; nativeBuildInputs = [ @@ -43,4 +44,4 @@ stdenv.mkDerivation rec { maintainers = with lib.maintainers; [ matthuszagh ]; platforms = lib.platforms.all; }; -} +})